|
Build 1.1_r1 (from source) | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use String | |
|---|---|
| android | Contains the resource classes used by standard Android applications. |
| android.accounts | |
| android.annotation | |
| android.app | High-level classes encapsulating the overall Android application model. |
| android.bluetooth | Provides classes that manage Bluetooth functionality on the device. |
| android.content | Contains classes for accessing and publishing data on the device. |
| android.content.pm | Contains classes for accessing information about an application package, including information about its activities, permissions, services, signatures, and providers. |
| android.content.res | Contains classes for accessing application resources, such as raw asset files, colors, drawables, media or other other files in the package, plus important device configuration details (orientation, input types, etc.) that affect how the application may behave. |
| android.database | Contains classes to explore data returned through a content provider. |
| android.database.sqlite | Contains the SQLite database management classes that an application would use to manage its own private database. |
| android.ddm | |
| android.debug | |
| android.drm.mobile1 | |
| android.gadget | |
| android.graphics | Provides low level graphics tools such as canvases, color filters, points, and rectangles that let you handle drawing to the screen directly. |
| android.graphics.drawable | Provides classes to manage a variety of visual elements that are intended for display only, such as bitmaps and gradients. |
| android.hardware | Provides support for hardware devices that may not be present on every Android device. |
| android.im | |
| android.inputmethodservice | Base classes for writing input methods. |
| android.location | Classes defining Android location-based and related services. |
| android.media | Provides classes that manage various media interfaces in audio and video. |
| android.net | Classes that help with network access, beyond the normal java.net.* APIs. |
| android.net.http | |
| android.net.wifi | Provides classes to manage Wi-Fi functionality on the device. |
| android.opengl | Provides OpenGL utilities. |
| android.os | Provides basic operating system services, message passing, and inter-process communication on the device. |
| android.pim | Provides helpers for working with PIM (Personal Information Manager) data used by contact lists and calendars. |
| android.preference | Provides classes that manage application preferences and implement the preferences UI. |
| android.provider | Provides convenience classes to access the content providers supplied by Android. |
| android.sax | A framework that makes it easy to write efficient and robust SAX handlers. |
| android.security | Utilities for encrypting messages from hash functions. |
| android.server | |
| android.server.checkin | |
| android.server.data | |
| android.server.search | |
| android.speech | |
| android.speech.srec | Simple, synchronous SREC speech recognition API. |
| android.syncml.pim | Support classes for SyncML. |
| android.syncml.pim.vcalendar | Support classes for SyncML. |
| android.syncml.pim.vcard | Support classes for SyncML. |
| android.telephony | Provides APIs for monitoring the basic phone information, such as the network type and connection state, plus utilities for manipulating phone number strings. |
| android.telephony.gsm | Provides APIs for utilizing GSM-specific telephony features, such as text/data/PDU SMS messages. |
| android.test | A framework for writing Android test cases and suites. |
| android.test.mock | Utility classes providing stubs or mocks of various Android framework building blocks. |
| android.test.suitebuilder | Utility classes supporting the test runner classes. |
| android.text | Provides classes used to render or track text and text spans on the screen. |
| android.text.format | |
| android.text.method | Provides classes that monitor or modify keypad input. |
| android.text.style | Provides classes used to view or change the style of a span of text in a View object. |
| android.text.util | Utilities for converting identifiable text strings into clickable links and creating RFC 822-type message (SMTP) tokens. |
| android.util | Provides common utility methods such as date/time manipulation, base64 encoders and decoders, string and number conversion methods, and XML utilities. |
| android.view | Provides classes that expose basic user interface classes that handle screen layout and interaction with the user. |
| android.view.animation | Provides classes that handle tweened animations. |
| android.view.inputmethod | Framework classes for interaction between views and input methods (such as soft keyboards). |
| android.webkit | Provides tools for browsing the web. |
| android.webkit.gears | |
| android.widget | The widget package contains (mostly visual) UI elements to use on your Application screen. |
| com.android.internal.app | |
| com.android.internal.gadget | |
| com.android.internal.telephony | |
| com.android.internal.telephony.gsm | Provides classes to control or read data from GSM phones. |
| com.android.internal.view | |
| dalvik.annotation | Defines some annotations that are used within the Android system, either for the core libraries or for testing purposes. |
| dalvik.system | Provides utility and system information classes specific to the Dalvik VM. |
| java.awt.font | |
| java.beans | |
| java.io | Provides input and output facilities by means of streaming, file system access and serialization. |
| java.lang | Provides core classes of the Android environment. |
| java.lang.annotation | Defines interfaces and exceptions necessary for annotation support. |
| java.lang.reflect | Provides reflective run-time access to the properties of a class, which allows such things as querying or modifying an objects's field by its name or invoking a method by name. |
| java.math | Provides arbitrary-precision integers and decimals. |
| java.net | Provides networking-related functionality, such as streaming and datagram sockets, handling of Internet addresses, and dealing with HTTP requests. |
| java.nio | Provides buffers that help handling data. |
| java.nio.channels | Channels provide a way to connect to sources of data such as files, sockets or other structures that allow input and/or output of data. |
| java.nio.charset | This package provides translation services between bytes and different character sets. |
| java.nio.charset.spi | Service-provider class for nio charset. |
| java.security | This package provides all the classes and interfaces that constitute the Java security framework. |
| java.security.acl | This package provides the classes and the interfaces needed to build Access Control Lists. |
| java.security.cert | This package provides all the classes and all the interfaces needed to generate, administer and verify X.509 certificates. |
| java.security.spec | This package provides the classes and interfaces needed to specify keys and parameters for encryption and signing algorithms. |
| java.sql | Provides a standard interface for accessing SQL-based databases. |
| java.text | The java.text package allows to uncouple the text in an application from natural languages. |
| java.util | Provides an extensive set of utility classes. |
| java.util.concurrent | Utility classes commonly useful in concurrent programming. |
| java.util.concurrent.atomic | A small toolkit of classes that support lock-free thread-safe programming on single variables. |
| java.util.concurrent.locks | Interfaces and classes providing a framework for locking and waiting for conditions that is distinct from built-in synchronization and monitors. |
| java.util.jar | The java.jar package gives access to reading and writing a Java archive, or JAR, files. |
| java.util.logging | This package allows to add logging to any application. |
| java.util.prefs | This package provides a preferences mechanism, that is, a means of writing configuration data (key/value pairs) to a persistent data store and retrieving it from there. |
| java.util.regex | Provides an implementation of regular expressions, which is useful for matching, searching, and replacing strings based on patterns. |
| java.util.zip | This package contains classes for compressing and decompressing data in ZIP and GZIP file formats. |
| javax.crypto | This package provides the classes and interfaces for cryptographic applications implementing algorithms for encryption, decryption, or key agreement. |
| javax.crypto.spec | This package provides the classes and interfaces needed to specify keys and parameter for encryption. |
| javax.microedition.khronos.egl | |
| javax.microedition.khronos.opengles | |
| javax.net | This package provides factory classes to create sockets and server-sockets. |
| javax.net.ssl | This package provides all the classes and interfaces needed to implemenet and program the Secure Socket abstraction based on the SSL protocol SSSLv3.0 or TLSv1.2. |
| javax.security.auth | This package provides the classes and interfaces needed to implemenet and program different methods of users' authentification and role based users' authorization. |
| javax.security.auth.callback | This package provides classes and interfaces needed to interact with the application in order to execute the authentification and authorization processes. |
| javax.security.auth.login | This package provides a pluggable and stackable authentication system based on ideas and concepts from the Unix-PAM module. |
| javax.security.auth.x500 | This package provides classes needed to store X.500 principals and their credentials. |
| javax.security.cert | This package is provided only for compatibility reasons. |
| javax.sql | Provides extensions to the standard interface for accessing SQL-based databases. |
| javax.xml | Provides a utility class with useful XML constants. |
| javax.xml.parsers | Provides facilities for parsing XML documents and building Document Object Model (DOM) trees from them. |
| junit.extensions | Utility classes supporting the junit test framework. |
| junit.framework | The junit test framework. |
| junit.runner | Utility classes supporting the junit test framework. |
| junit.textui | Utility classes supporting the junit test framework. |
| org.apache.http | The core interfaces and classes of the HTTP components. |
| org.apache.http.auth | The API for client-side HTTP authentication against a server, commonly referred to as HttpAuth. |
| org.apache.http.auth.params | Parameters for configuring HttpAuth. |
| org.apache.http.client | The API for client-side HTTP communication and entry point to the HttpClient module. |
| org.apache.http.client.entity | |
| org.apache.http.client.methods | Request implementations for the various HTTP methods like GET and POST. |
| org.apache.http.client.params | Parameters for configuring HttpClient. |
| org.apache.http.client.protocol | Additional request and response interceptors. |
| org.apache.http.client.utils | Helpers and utility classes for HttpClient. |
| org.apache.http.conn | The client-side connection management and handling API at the heart of what is referred to as HttpConn. |
| org.apache.http.conn.params | Parameters for configuring HttpConn. |
| org.apache.http.conn.routing | The client-side route representation and tracking API, part of HttpConn. |
| org.apache.http.conn.scheme | |
| org.apache.http.conn.ssl | TLS/SSL specific parts of the HttpConn API. |
| org.apache.http.conn.util | |
| org.apache.http.cookie | The API for client-side state management via cookies, commonly referred to as HttpCookie. |
| org.apache.http.cookie.params | Parameters for configuring HttpCookie. |
| org.apache.http.entity | Representations for HTTP message entities. |
| org.apache.http.impl | Default implementations for interfaces in
org.apache.http. |
| org.apache.http.impl.auth | |
| org.apache.http.impl.client | |
| org.apache.http.impl.conn | |
| org.apache.http.impl.conn.tsccm | The implementation of a thread-safe client connection manager. |
| org.apache.http.impl.cookie | |
| org.apache.http.impl.io | Default implementations for interfaces in
org.apache.http.io. |
| org.apache.http.io | The transport layer abstraction of the HTTP components. |
| org.apache.http.message | A selection of HTTP
message
implementations. |
| org.apache.http.params | The parameterization framework for HTTP components. |
| org.apache.http.protocol | HTTP protocol execution framework. |
| org.apache.http.util | Mostly utility classes with static helper methods for various purposes. |
| org.json | |
| org.w3c.dom | Provides the official W3C Java bindings for the Document Object Model, level 2 core. |
| org.xml.sax | This package provides the core SAX APIs. |
| org.xml.sax.ext | This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support. |
| org.xml.sax.helpers | This package contains "helper" classes, including support for bootstrapping SAX-based applications. |
| org.xmlpull.v1 | |
| org.xmlpull.v1.sax2 | |
| Uses of String in android |
|---|
| Fields in android declared as String | |
|---|---|
static String |
Manifest.permission.ACCESS_CHECKIN_PROPERTIES
Allows read/write access to the "properties" table in the checkin database, to change values that get uploaded. |
static String |
Manifest.permission.ACCESS_COARSE_LOCATION
Allows an application to access coarse (e.g., Cell-ID, WiFi) location |
static String |
Manifest.permission.ACCESS_FINE_LOCATION
Allows an application to access fine (e.g., GPS) location |
static String |
Manifest.permission.ACCESS_LOCATION_EXTRA_COMMANDS
Allows an application to access extra location provider commands |
static String |
Manifest.permission.ACCESS_MOCK_LOCATION
Allows an application to create mock location providers for testing |
static String |
Manifest.permission.ACCESS_NETWORK_STATE
Allows applications to access information about networks |
static String |
Manifest.permission.ACCESS_SURFACE_FLINGER
Allows an application to use SurfaceFlinger's low level features |
static String |
Manifest.permission.ACCESS_WIFI_STATE
Allows applications to access information about Wi-Fi networks |
static String |
Manifest.permission_group.ACCOUNTS
Permissions for direct access to Google accounts. |
static String |
Manifest.permission.ADD_SYSTEM_SERVICE
Allows an application to publish system-level services. |
static String |
Manifest.permission.BATTERY_STATS
Allows an application to update the collected battery statistics |
static String |
Manifest.permission.BIND_INPUT_METHOD
Must be required by input method services, to ensure that only the system can bind to them. |
static String |
Manifest.permission.BLUETOOTH
Allows applications to connect to paired bluetooth devices |
static String |
Manifest.permission.BLUETOOTH_ADMIN
Allows applications to discover and pair bluetooth devices |
static String |
Manifest.permission.BRICK
Required to be able to disable the device (very dangerous!). |
static String |
Manifest.permission.BROADCAST_PACKAGE_REMOVED
Allows an application to broadcast a notification that an application package has been removed. |
static String |
Manifest.permission.BROADCAST_SMS
Allows an application to broadcast an SMS receipt notification |
static String |
Manifest.permission.BROADCAST_STICKY
Allows an application to broadcast sticky intents. |
static String |
Manifest.permission.BROADCAST_WAP_PUSH
Allows an application to broadcast a WAP PUSH receipt notification |
static String |
Manifest.permission.CALL_PHONE
Allows an application to initiate a phone call without going through the Dialer user interface for the user to confirm the call being placed. |
static String |
Manifest.permission.CALL_PRIVILEGED
Allows an application to call any phone number, including emergency numbers, without going through the Dialer user interface for the user to confirm the call being placed. |
static String |
Manifest.permission.CAMERA
Required to be able to access the camera device. |
static String |
Manifest.permission.CHANGE_COMPONENT_ENABLED_STATE
Allows an application to change whether an application component (other than its own) is enabled or not. |
static String |
Manifest.permission.CHANGE_CONFIGURATION
Allows an application to modify the current configuration, such as locale. |
static String |
Manifest.permission.CHANGE_NETWORK_STATE
Allows applications to change network connectivity state |
static String |
Manifest.permission.CHANGE_WIFI_STATE
Allows applications to change Wi-Fi connectivity state |
static String |
Manifest.permission.CLEAR_APP_CACHE
Allows an application to clear the caches of all installed applications on the device. |
static String |
Manifest.permission.CLEAR_APP_USER_DATA
Allows an application to clear user data |
static String |
Manifest.permission.CONTROL_LOCATION_UPDATES
Allows enabling/disabling location update notifications from the radio. |
static String |
Manifest.permission_group.COST_MONEY
Used for permissions that can be used to make the user spend money without their direct involvement. |
static String |
Manifest.permission.DELETE_CACHE_FILES
Allows an application to delete cache files. |
static String |
Manifest.permission.DELETE_PACKAGES
Allows an application to delete packages. |
static String |
Manifest.permission_group.DEVELOPMENT_TOOLS
Group of permissions that are related to development features. |
static String |
Manifest.permission.DEVICE_POWER
Allows low-level access to power management |
static String |
Manifest.permission.DIAGNOSTIC
Allows applications to RW to diagnostic resources. |
static String |
Manifest.permission.DISABLE_KEYGUARD
Allows applications to disable the keyguard |
static String |
Manifest.permission.DUMP
Allows an application to retrieve state dump information from system services. |
static String |
Manifest.permission.EXPAND_STATUS_BAR
Allows an application to expand or collapse the status bar. |
static String |
Manifest.permission.FACTORY_TEST
Run as a manufacturer test application, running as the root user. |
static String |
Manifest.permission.FLASHLIGHT
Allows access to the flashlight |
static String |
Manifest.permission.FORCE_BACK
Allows an application to force a BACK operation on whatever is the top activity. |
static String |
Manifest.permission.FOTA_UPDATE
|
static String |
Manifest.permission.GET_ACCOUNTS
Allows access to the list of accounts in the Accounts Service |
static String |
Manifest.permission.GET_PACKAGE_SIZE
Allows an application to find out the space used by any package. |
static String |
Manifest.permission.GET_TASKS
Allows an application to get information about the currently or recently running tasks: a thumbnail representation of the tasks, what activities are running in it, etc. |
static String |
Manifest.permission_group.HARDWARE_CONTROLS
Used for permissions that provide direct access to the hardware on the device. |
static String |
Manifest.permission.HARDWARE_TEST
Allows access to hardware peripherals. |
static String |
Manifest.permission.INJECT_EVENTS
Allows an application to inject user events (keys, touch, trackball) into the event stream and deliver them to ANY window. |
static String |
Manifest.permission.INSTALL_PACKAGES
Allows an application to install packages. |
static String |
Manifest.permission.INTERNAL_SYSTEM_WINDOW
Allows an application to open windows that are for use by parts of the system user interface. |
static String |
Manifest.permission.INTERNET
Allows applications to open network sockets. |
static String |
Manifest.permission_group.LOCATION
Used for permissions that allow access to the user's current location. |
static String |
Manifest.permission.MANAGE_APP_TOKENS
Allows an application to manage (create, destroy, Z-order) application tokens in the window manager. |
static String |
Manifest.permission.MASTER_CLEAR
|
static String |
Manifest.permission_group.MESSAGES
Used for permissions that allow an application to send messages on behalf of the user or intercept messages being received by the user. |
static String |
Manifest.permission.MODIFY_AUDIO_SETTINGS
Allows an application to modify global audio settings |
static String |
Manifest.permission.MODIFY_PHONE_STATE
Allows modification of the telephony state - power on, mmi, etc. |
static String |
Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS
Allows mounting and unmounting file systems for removable storage. |
static String |
Manifest.permission_group.NETWORK
Used for permissions that provide access to networking services. |
static String |
Manifest.permission.PERSISTENT_ACTIVITY
Allow an application to make its activities persistent. |
static String |
Manifest.permission_group.PERSONAL_INFO
Used for permissions that provide access to the user's private data, such as contacts, calendar events, e-mail messages, etc. |
static String |
Manifest.permission_group.PHONE_CALLS
Used for permissions that are associated with accessing and modifyign telephony state: intercepting outgoing calls, reading and modifying the phone state. |
static String |
Manifest.permission.PROCESS_OUTGOING_CALLS
Allows an application to monitor, modify, or abort outgoing calls. |
static String |
Manifest.permission.READ_CALENDAR
Allows an application to read the user's calendar data. |
static String |
Manifest.permission.READ_CONTACTS
Allows an application to read the user's contacts data. |
static String |
Manifest.permission.READ_FRAME_BUFFER
Allows an application to take screen shots and more generally get access to the frame buffer data |
static String |
Manifest.permission.READ_INPUT_STATE
Allows an application to retrieve the current state of keys and switches. |
static String |
Manifest.permission.READ_LOGS
Allows an application to read the low-level system log files. |
static String |
Manifest.permission.READ_OWNER_DATA
Allows an application to read the owner's data. |
static String |
Manifest.permission.READ_PHONE_STATE
Allows read only access to phone state. |
static String |
Manifest.permission.READ_SMS
Allows an application to read SMS messages. |
static String |
Manifest.permission.READ_SYNC_SETTINGS
Allows applications to read the sync settings |
static String |
Manifest.permission.READ_SYNC_STATS
Allows applications to read the sync stats |
static String |
Manifest.permission.READ_USER_DICTIONARY
Allows an application to read the user dictionary. |
static String |
Manifest.permission.REBOOT
Required to be able to reboot the device. |
static String |
Manifest.permission.RECEIVE_BOOT_COMPLETED
Allows an application to receive the Intent.ACTION_BOOT_COMPLETED that is
broadcast after the system finishes booting. |
static String |
Manifest.permission.RECEIVE_MMS
Allows an application to monitor incoming MMS messages, to record or perform processing on them. |
static String |
Manifest.permission.RECEIVE_SMS
Allows an application to monitor incoming SMS messages, to record or perform processing on them. |
static String |
Manifest.permission.RECEIVE_WAP_PUSH
Allows an application to monitor incoming WAP push messages. |
static String |
Manifest.permission.RECORD_AUDIO
Allows an application to record audio |
static String |
Manifest.permission.REORDER_TASKS
Allows an application to change the Z-order of tasks |
static String |
Manifest.permission.RESTART_PACKAGES
Allows an application to restart other applications. |
static String |
Manifest.permission.SEND_SMS
Allows an application to send SMS messages. |
static String |
Manifest.permission.SET_ACTIVITY_WATCHER
Allows an application to watch and control how activities are started globally in the system. |
static String |
Manifest.permission.SET_ALWAYS_FINISH
Allows an application to control whether activities are immediately finished when put in the background. |
static String |
Manifest.permission.SET_ANIMATION_SCALE
Modify the global animation scaling factor. |
static String |
Manifest.permission.SET_DEBUG_APP
Configure an application for debugging. |
static String |
Manifest.permission.SET_ORIENTATION
Allows low-level access to setting the orientation (actually rotation) of the screen. |
static String |
Manifest.permission.SET_PREFERRED_APPLICATIONS
Allows an application to modify the list of preferred applications with the PackageManager.addPackageToPreferred() and
PackageManager.removePackageFromPreferred() methods. |
static String |
Manifest.permission.SET_PROCESS_FOREGROUND
Allows an application to force any currently running process to be in the foreground. |
static String |
Manifest.permission.SET_PROCESS_LIMIT
Allows an application to set the maximum number of (not needed) application processes that can be running. |
static String |
Manifest.permission.SET_TIME_ZONE
Allows applications to set the system time zone |
static String |
Manifest.permission.SET_WALLPAPER
Allows applications to set the wallpaper |
static String |
Manifest.permission.SET_WALLPAPER_HINTS
Allows applications to set the wallpaper hints |
static String |
Manifest.permission.SIGNAL_PERSISTENT_PROCESSES
Allow an application to request that a signal be sent to all persistent processes |
static String |
Manifest.permission.STATUS_BAR
Allows an application to open, close, or disable the status bar and its icons. |
static String |
Manifest.permission.SUBSCRIBED_FEEDS_READ
Allows an application to allow access the subscribed feeds ContentProvider. |
static String |
Manifest.permission.SUBSCRIBED_FEEDS_WRITE
|
static String |
Manifest.permission.SYSTEM_ALERT_WINDOW
Allows an application to open windows using the type WindowManager.LayoutParams.TYPE_SYSTEM_ALERT,
shown on top of all other applications. |
static String |
Manifest.permission_group.SYSTEM_TOOLS
Group of permissions that are related to system APIs. |
static String |
Manifest.permission.VIBRATE
Allows access to the vibrator |
static String |
Manifest.permission.WAKE_LOCK
Allows using PowerManager WakeLocks to keep processor from sleeping or screen from dimming |
static String |
Manifest.permission.WRITE_APN_SETTINGS
Allows applications to write the apn settings |
static String |
Manifest.permission.WRITE_CALENDAR
Allows an application to write (but not read) the user's calendar data. |
static String |
Manifest.permission.WRITE_CONTACTS
Allows an application to write (but not read) the user's contacts data. |
static String |
Manifest.permission.WRITE_GSERVICES
Allows an application to modify the Google service map. |
static String |
Manifest.permission.WRITE_OWNER_DATA
Allows an application to write (but not read) the owner's data. |
static String |
Manifest.permission.WRITE_SECURE_SETTINGS
Allows an application to read or write the secure system settings. |
static String |
Manifest.permission.WRITE_SETTINGS
Allows an application to read or write the system settings. |
static String |
Manifest.permission.WRITE_SMS
Allows an application to write SMS messages. |
static String |
Manifest.permission.WRITE_SYNC_SETTINGS
Allows applications to write the sync settings |
static String |
Manifest.permission.WRITE_USER_DICTIONARY
Allows an application to write to the user dictionary. |
| Uses of String in android.accounts |
|---|
| Fields in android.accounts declared as String | |
|---|---|
static String |
AccountsServiceConstants.LOGIN_ACCOUNTS_CHANGED_ACTION
Action sent as a broadcast Intent by the AccountsService when accounts are added to and/or removed from the device's database, or when the primary account is changed. |
static String |
AccountsServiceConstants.LOGIN_ACCOUNTS_MISSING_ACTION
Action sent as a broadcast Intent by the AccountsService when it starts up and no accounts are available (so some should be added). |
| Methods in android.accounts that return String | |
|---|---|
String[] |
IAccountsService.getAccounts()
Gets the list of Accounts the user has previously logged in to. |
| Methods in android.accounts with parameters of type String | |
|---|---|
void |
AccountMonitorListener.onAccountsUpdated(String[] currentAccounts)
This invoked when the AccountMonitor starts up and whenever the account set changes. |
boolean |
IAccountsService.shouldUnlock(String username,
String password)
This is an interim solution for bypassing a forgotten gesture on the unlock screen (it is hidden, please make sure it stays this way!). |
| Uses of String in android.annotation |
|---|
| Methods in android.annotation with parameters of type String | |
|---|---|
static SdkConstant.SdkConstantType |
SdkConstant.SdkConstantType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Uses of String in android.app |
|---|
| Fields in android.app declared as String | |
|---|---|
static String |
SearchManager.ACTION_KEY
Intent extra data key: Use this key with Intent.ACTION_SEARCH and content.Intent.getIntExtra()
to obtain the keycode that the user used to trigger this query. |
static String |
SearchManager.ACTION_MSG
Intent extra data key: Use this key with Intent.ACTION_SEARCH and content.Intent.getStringExtra()
to obtain the action message that was defined for a particular search action key and/or
suggestion. |
String |
AliasActivity.ALIAS_META_DATA
This is the name under which you should store in your component the meta-data information about the alias. |
static String |
SearchManager.APP_DATA
Intent extra data key: Use this key with Intent.ACTION_SEARCH and content.Intent.getBundleExtra()
to obtain any additional app-specific data that was inserted by the
activity that launched the search. |
static String |
IApplicationThread.descriptor
|
static String |
IActivityManager.descriptor
|
(package private) static String |
SearchDialog.LOG_TAG
|
String |
ActivityManager.ProcessErrorStateInfo.longMsg
A long message describing the error condition. |
(package private) String |
Activity.mEmbeddedID
|
(package private) String |
ActivityThread.mInstrumentationAppDir
|
(package private) String |
ActivityThread.mInstrumentationAppPackage
|
(package private) String |
ActivityThread.mInstrumentedAppDir
|
String |
ResultInfo.mResultWho
|
(package private) static String |
ActivityGroup.PARENT_NON_CONFIG_INSTANCE_KEY
|
String |
IActivityManager.ContentProviderHolder.permissionFailure
|
String[] |
ActivityManager.RunningAppProcessInfo.pkgList
|
String |
ActivityManager.RunningServiceInfo.process
The name of the process this service runs in. |
String |
ActivityManager.ProcessErrorStateInfo.processName
The process name in which the crash or error occurred. |
String |
ActivityManager.RunningAppProcessInfo.processName
The name of the process that this object is associated with |
static String |
SearchManager.QUERY
Intent extra data key: Use this key with content.Intent.getStringExtra()
to obtain the query string from Intent.ACTION_SEARCH. |
static String |
Instrumentation.REPORT_KEY_IDENTIFIER
If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies the class that is writing the report. |
static String |
Instrumentation.REPORT_KEY_STREAMRESULT
If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies a string which can simply be printed to the output stream. |
String |
ActivityManager.ProcessErrorStateInfo.shortMsg
A short message describing the error condition. |
static String |
SearchManager.SOURCE
Intent app_data bundle key: Use this key with the bundle from content.Intent.getBundleExtra(APP_DATA) to obtain the source identifier
set by the activity that launched the search. |
static String |
SearchManager.SUGGEST_COLUMN_FORMAT
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_ICON_1
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_ICON_2
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_INTENT_ACTION
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_INTENT_DATA
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_INTENT_DATA_ID
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_QUERY
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_TEXT_1
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_COLUMN_TEXT_2
Column name for suggestions cursor. |
static String |
SearchManager.SUGGEST_MIME_TYPE
MIME type for suggestions data. |
static String |
SearchManager.SUGGEST_URI_PATH_QUERY
Uri path for queried suggestions data. |
String |
ActivityManager.ProcessErrorStateInfo.tag
The tag that was provided when the process crashed. |
| Fields in android.app with type parameters of type String | |
|---|---|
(package private) HashMap<String,WeakReference<Resources>> |
ActivityThread.mActiveResources
|
(package private) HashMap<String,Object> |
Activity.mLastNonConfigurationChildInstances
|
(package private) HashMap<String,WeakReference<ActivityThread.PackageInfo>> |
ActivityThread.mPackages
|
(package private) HashMap<String,android.app.ActivityThread.ProviderRecord> |
ActivityThread.mProviderMap
|
(package private) HashMap<String,WeakReference<ActivityThread.PackageInfo>> |
ActivityThread.mResourcePackages
|
| Methods in android.app that return String | |
|---|---|
static String |
ActivityThread.currentPackageName()
|
String[] |
ApplicationContext.databaseList()
|
String[] |
ApplicationContext.fileList()
|
String |
ActivityThread.PackageInfo.getAppDir()
|
String |
Activity.getCallingPackage()
Return the name of the package that invoked this activity. |
String |
IActivityManager.getCallingPackage(IBinder token)
|
String |
ActivityManagerProxy.getCallingPackage(IBinder token)
|
(package private) String |
Service.getClassName()
|
String |
LocalActivityManager.getCurrentId()
Retrieve the ID of the activity that is currently running. |
String |
ActivityThread.PackageInfo.getDataDir()
|
String |
Activity.getLocalClassName()
Returns class name for this activity with the package prefix removed. |
String |
ApplicationContext.ApplicationPackageManager.getNameForUid(int uid)
|
String |
ApplicationContext.getPackageCodePath()
|
String |
IActivityManager.getPackageForIntentSender(IIntentSender sender)
|
String |
ActivityManagerProxy.getPackageForIntentSender(IIntentSender sender)
|
String |
IActivityManager.getPackageForToken(IBinder token)
|
String |
ActivityManagerProxy.getPackageForToken(IBinder token)
|
String |
ApplicationContext.getPackageName()
|
String |
ActivityThread.PackageInfo.getPackageName()
|
String |
ApplicationContext.getPackageResourcePath()
|
String[] |
ApplicationContext.ApplicationPackageManager.getPackagesForUid(int uid)
|
String |
ActivityThread.getProfileFilePath()
|
String |
ActivityThread.PackageInfo.getResDir()
|
String |
PendingIntent.getTargetPackage()
Return the package name of the application that created this PendingIntent, that is the identity under which you will actually be sending the Intent. |
String |
Notification.toString()
|
String |
ResultInfo.toString()
|
| Methods in android.app that return types with arguments of type String | |
|---|---|
HashMap<String,Object> |
LocalActivityManager.dispatchRetainNonConfigurationInstance()
Call onRetainNonConfigurationInstance on each child activity and store the results in a HashMap by id. |
(package private) HashMap<String,Object> |
Activity.getLastNonConfigurationChildInstances()
Retrieve the non-configuration instance data that was previously returned by Activity.onRetainNonConfigurationChildInstances(). |
HashMap<String,Object> |
ActivityGroup.onRetainNonConfigurationChildInstances()
Returns a HashMap mapping from child activity ids to the return values from calls to their onRetainNonConfigurationInstance methods. |
(package private) HashMap<String,Object> |
Activity.onRetainNonConfigurationChildInstances()
This method is similar to Activity.onRetainNonConfigurationInstance() except that
it should return either a mapping from child activity id strings to arbitrary objects,
or null. |
| Methods in android.app with parameters of type String | |
|---|---|
IContentProvider |
ActivityThread.acquireProvider(Context c,
String name)
|
boolean |
IActivityWatcher.activityResuming(String pkg)
The system is trying to return to an activity. |
boolean |
IActivityWatcher.activityStarting(Intent intent,
String pkg)
The system is trying to start an activity. |
IBinder |
StatusBarManager.addIcon(String slot,
int iconId,
int iconLevel)
|
IBinder |
IStatusBar.addIcon(String slot,
String iconPackage,
int iconId,
int iconLevel)
|
Instrumentation.ActivityMonitor |
Instrumentation.addMonitor(String cls,
Instrumentation.ActivityResult result,
boolean block)
A convenience wrapper for Instrumentation.addMonitor(ActivityMonitor) that
creates a class matching Instrumentation.ActivityMonitor for you and returns it. |
void |
ApplicationContext.ApplicationPackageManager.addPackageToPreferred(String packageName)
|
boolean |
IActivityWatcher.appCrashed(String processName,
int pid,
String shortMsg,
String longMsg,
byte[] crashData)
An application process has crashed (in Java). |
int |
IActivityWatcher.appNotResponding(String processName,
int pid,
String processStats)
An application process is not responding. |
(package private) void |
Activity.attach(Context context,
ActivityThread aThread,
Instrumentation instr,
IBinder token,
Application application,
Intent intent,
ActivityInfo info,
CharSequence title,
Activity parent,
String id,
Object lastNonConfigurationInstance,
Configuration config)
|
(package private) void |
Activity.attach(Context context,
ActivityThread aThread,
Instrumentation instr,
IBinder token,
Application application,
Intent intent,
ActivityInfo info,
CharSequence title,
Activity parent,
String id,
Object lastNonConfigurationInstance,
HashMap<String,Object> lastNonConfigurationChildInstances,
Configuration config)
|
void |
Service.attach(Context context,
ActivityThread thread,
String className,
IBinder token,
Application application,
Object activityManager)
|
void |
IApplicationThread.bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
String profileName,
Bundle testArguments,
IInstrumentationWatcher testWatcher,
int debugMode,
Configuration config,
Map<String,IBinder> services)
|
void |
ApplicationThreadProxy.bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
String profileName,
Bundle testArgs,
IInstrumentationWatcher testWatcher,
int debugMode,
Configuration config,
Map<String,IBinder> services)
|
int |
IActivityManager.bindService(IApplicationThread caller,
IBinder token,
Intent service,
String resolvedType,
IServiceConnection connection,
int flags)
|
int |
ActivityManagerProxy.bindService(IApplicationThread caller,
IBinder token,
Intent service,
String resolvedType,
IServiceConnection connection,
int flags)
|
int |
IActivityManager.broadcastIntent(IApplicationThread caller,
Intent intent,
String resolvedType,
IIntentReceiver resultTo,
int resultCode,
String resultData,
Bundle map,
String requiredPermission,
boolean serialized,
boolean sticky)
|
int |
ActivityManagerProxy.broadcastIntent(IApplicationThread caller,
Intent intent,
String resolvedType,
IIntentReceiver resultTo,
int resultCode,
String resultData,
Bundle map,
String requiredPermission,
boolean serialized,
boolean sticky)
|
static void |
ActivityManagerNative.broadcastStickyIntent(Intent intent,
String permission)
Convenience for sending a sticky broadcast. |
void |
INotificationManager.cancelAllNotifications(String pkg)
|
void |
INotificationManager.cancelNotification(String pkg,
int id)
|
void |
INotificationManager.cancelToast(String pkg,
ITransientNotification callback)
|
int |
ApplicationContext.checkCallingOrSelfPermission(String permission)
|
int |
ApplicationContext.checkCallingPermission(String permission)
|
int |
ApplicationContext.checkPermission(String permission,
int pid,
int uid)
|
int |
IActivityManager.checkPermission(String permission,
int pid,
int uid)
|
int |
ActivityManagerProxy.checkPermission(String permission,
int pid,
int uid)
|
int |
ApplicationContext.ApplicationPackageManager.checkPermission(String permName,
String pkgName)
|
int |
ApplicationContext.ApplicationPackageManager.checkSignatures(String pkg1,
String pkg2)
|
int |
ApplicationContext.checkUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags)
|
void |
ApplicationContext.ApplicationPackageManager.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
|
boolean |
IActivityManager.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
|
boolean |
ActivityManagerProxy.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
|
boolean |
ActivityManager.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
|
void |
ApplicationContext.ApplicationPackageManager.clearPackagePreferredActivities(String packageName)
|
Context |
ApplicationContext.createPackageContext(String packageName,
int flags)
|
void |
ApplicationContext.ApplicationPackageManager.deleteApplicationCacheFiles(String packageName,
IPackageDataObserver observer)
|
boolean |
ApplicationContext.deleteDatabase(String name)
|
boolean |
ApplicationContext.deleteFile(String name)
|
void |
ApplicationContext.ApplicationPackageManager.deletePackage(String packageName,
IPackageDeleteObserver observer,
int flags)
|
Window |
LocalActivityManager.destroyActivity(String id,
boolean finish)
Destroy the activity associated with a particular id. |
void |
IStatusBar.disable(int what,
IBinder token,
String pkg)
|
(package private) void |
ActivityGroup.dispatchActivityResult(String who,
int requestCode,
int resultCode,
Intent data)
|
(package private) void |
Activity.dispatchActivityResult(String who,
int requestCode,
int resultCode,
Intent data)
|
protected void |
Service.dump(FileDescriptor fd,
PrintWriter writer,
String[] args)
Print the Service's state into the given stream. |
void |
IApplicationThread.dumpService(FileDescriptor fd,
IBinder servicetoken,
String[] args)
|
void |
ApplicationThreadProxy.dumpService(FileDescriptor fd,
IBinder token,
String[] args)
|
void |
ApplicationContext.enforceCallingOrSelfPermission(String permission,
String message)
|
void |
ApplicationContext.enforceCallingOrSelfUriPermission(Uri uri,
int modeFlags,
String message)
|
void |
ApplicationContext.enforceCallingPermission(String permission,
String message)
|
void |
ApplicationContext.enforceCallingUriPermission(Uri uri,
int modeFlags,
String message)
|
void |
ApplicationContext.enforcePermission(String permission,
int pid,
int uid,
String message)
|
void |
ApplicationContext.enforceUriPermission(Uri uri,
int pid,
int uid,
int modeFlags,
String message)
|
void |
ApplicationContext.enforceUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags,
String message)
|
void |
INotificationManager.enqueueNotification(String pkg,
int id,
Notification notification,
int[] idReceived)
|
void |
INotificationManager.enqueueToast(String pkg,
ITransientNotification callback,
int duration)
|
void |
IActivityManager.finishReceiver(IBinder who,
int resultCode,
String resultData,
Bundle map,
boolean abortBroadcast)
|
void |
ActivityManagerProxy.finishReceiver(IBinder who,
int resultCode,
String resultData,
Bundle map,
boolean abortBroadcast)
|
void |
IActivityManager.finishSubActivity(IBinder token,
String resultWho,
int requestCode)
|
void |
ActivityManagerProxy.finishSubActivity(IBinder token,
String resultWho,
int requestCode)
|
Activity |
LocalActivityManager.getActivity(String id)
Return the Activity object associated with a string ID. |
int |
ApplicationContext.ApplicationPackageManager.getApplicationEnabledSetting(String packageName)
|
Drawable |
ApplicationContext.ApplicationPackageManager.getApplicationIcon(String packageName)
|
ApplicationInfo |
ApplicationContext.ApplicationPackageManager.getApplicationInfo(String packageName,
int flags)
|
ClassLoader |
ApplicationLoaders.getClassLoader(String zip,
String appDataDir,
ClassLoader parent)
|
IActivityManager.ContentProviderHolder |
IActivityManager.getContentProvider(IApplicationThread caller,
String name)
|
IActivityManager.ContentProviderHolder |
ActivityManagerProxy.getContentProvider(IApplicationThread caller,
String name)
|
File |
ApplicationContext.getDatabasePath(String name)
|
File |
ApplicationContext.getDir(String name,
int mode)
|
Drawable |
ApplicationContext.ApplicationPackageManager.getDrawable(String packageName,
int resid,
ApplicationInfo appInfo)
|
File |
ApplicationContext.getFileStreamPath(String name)
|
IIntentSender |
IActivityManager.getIntentSender(int type,
String packageName,
IBinder token,
String resultWho,
int requestCode,
Intent intent,
String resolvedType,
int flags)
|
IIntentSender |
ActivityManagerProxy.getIntentSender(int type,
String packageName,
IBinder token,
String resultWho,
int requestCode,
Intent intent,
String resolvedType,
int flags)
|
int[] |
ApplicationContext.ApplicationPackageManager.getPackageGids(String packageName)
|
PackageInfo |
ApplicationContext.ApplicationPackageManager.getPackageInfo(String packageName,
int flags)
|
ActivityThread.PackageInfo |
ActivityThread.getPackageInfo(String packageName,
int flags)
|
void |
ApplicationContext.ApplicationPackageManager.getPackageSizeInfo(String packageName,
IPackageStatsObserver observer)
|
PermissionGroupInfo |
ApplicationContext.ApplicationPackageManager.getPermissionGroupInfo(String name,
int flags)
|
PermissionInfo |
ApplicationContext.ApplicationPackageManager.getPermissionInfo(String name,
int flags)
|
int |
ApplicationContext.ApplicationPackageManager.getPreferredActivities(List<IntentFilter> outFilters,
List<ComponentName> outActivities,
String packageName)
|
Resources |
ApplicationContext.ApplicationPackageManager.getResourcesForApplication(String appPackageName)
|
SharedPreferences |
ApplicationContext.getSharedPreferences(String name,
int mode)
|
Object |
ApplicationContext.getSystemService(String name)
|
Object |
Activity.getSystemService(String name)
|
CharSequence |
ApplicationContext.ApplicationPackageManager.getText(String packageName,
int resid,
ApplicationInfo appInfo)
|
(package private) Resources |
ActivityThread.getTopLevelResources(String appDir)
|
int |
ApplicationContext.ApplicationPackageManager.getUidForSharedUser(String sharedUserName)
|
XmlResourceParser |
ApplicationContext.ApplicationPackageManager.getXml(String packageName,
int resid,
ApplicationInfo appInfo)
|
void |
IActivityManager.grantUriPermission(IApplicationThread caller,
String targetPkg,
Uri uri,
int mode)
|
void |
ActivityManagerProxy.grantUriPermission(IApplicationThread caller,
String targetPkg,
Uri uri,
int mode)
|
void |
ApplicationContext.grantUriPermission(String toPackage,
Uri uri,
int modeFlags)
|
int |
IActivityManager.handleApplicationError(IBinder app,
int flags,
String tag,
String shortMsg,
String longMsg,
byte[] crashData)
|
int |
ActivityManagerProxy.handleApplicationError(IBinder app,
int flags,
String tag,
String shortMsg,
String longMsg,
byte[] crashData)
|
boolean |
ActivityThread.hasPackageInfo(String packageName)
|
static void |
ActivityThread.main(String[] args)
|
Cursor |
Activity.managedQuery(Uri uri,
String[] projection,
String selection,
String sortOrder)
Wrapper around ContentResolver.query(android.net.Uri , String[], String, String[], String)
that gives the resulting Cursor to call
Activity.startManagingCursor(android.database.Cursor) so that the activity will manage its
lifecycle for you. |
Cursor |
Activity.managedQuery(Uri uri,
String[] projection,
String selection,
String sortOrder)
Wrapper around ContentResolver.query(android.net.Uri , String[], String, String[], String)
that gives the resulting Cursor to call
Activity.startManagingCursor(android.database.Cursor) so that the activity will manage its
lifecycle for you. |
Cursor |
Activity.managedQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Wrapper around ContentResolver.query(android.net.Uri , String[], String, String[], String)
that gives the resulting Cursor to call
Activity.startManagingCursor(android.database.Cursor) so that the activity will manage its
lifecycle for you. |
Cursor |
Activity.managedQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Wrapper around ContentResolver.query(android.net.Uri , String[], String, String[], String)
that gives the resulting Cursor to call
Activity.startManagingCursor(android.database.Cursor) so that the activity will manage its
lifecycle for you. |
Cursor |
Activity.managedQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Wrapper around ContentResolver.query(android.net.Uri , String[], String, String[], String)
that gives the resulting Cursor to call
Activity.startManagingCursor(android.database.Cursor) so that the activity will manage its
lifecycle for you. |
Activity |
Instrumentation.newActivity(Class<?> clazz,
Context context,
IBinder token,
Application application,
Intent intent,
ActivityInfo info,
CharSequence title,
Activity parent,
String id,
Object lastNonConfigurationInstance)
Perform instantiation of an Activity object. |
Activity |
Instrumentation.newActivity(ClassLoader cl,
String className,
Intent intent)
Perform instantiation of the process's Activity object. |
Application |
Instrumentation.newApplication(ClassLoader cl,
String className,
Context context)
Perform instantiation of the process's Application object. |
KeyguardManager.KeyguardLock |
KeyguardManager.newKeyguardLock(String tag)
Enables you to lock or unlock the keyboard. |
View |
Activity.onCreateView(String name,
Context context,
AttributeSet attrs)
Stub implementation of LayoutInflater.Factory.onCreateView(java.lang.String, android.content.Context, android.util.AttributeSet) used when
inflating with the LayoutInflater returned by Activity.getSystemService(java.lang.String). |
void |
PendingIntent.OnFinished.onSendFinished(PendingIntent pendingIntent,
Intent intent,
int resultCode,
String resultData,
Bundle resultExtras)
Called when a send operation as completed. |
FileInputStream |
ApplicationContext.openFileInput(String name)
|
FileOutputStream |
ApplicationContext.openFileOutput(String name,
int mode)
|
SQLiteDatabase |
ApplicationContext.openOrCreateDatabase(String name,
int mode,
SQLiteDatabase.CursorFactory factory)
|
(package private) void |
ApplicationContext.performFinalCleanup(String who,
String what)
|
void |
ActivityThread.PackageInfo.ReceiverDispatcher.performReceive(Intent intent,
int resultCode,
String data,
Bundle extras,
boolean ordered)
|
void |
ActivityThread.PackageInfo.ReceiverDispatcher.InnerReceiver.performReceive(Intent intent,
int resultCode,
String data,
Bundle extras,
boolean ordered)
|
void |
IIntentReceiver.performReceive(Intent intent,
int resultCode,
String data,
Bundle extras,
boolean ordered)
|
List<ProviderInfo> |
ApplicationContext.ApplicationPackageManager.queryContentProviders(String processName,
int uid,
int flags)
|
List<InstrumentationInfo> |
ApplicationContext.ApplicationPackageManager.queryInstrumentation(String targetPackage,
int flags)
|
List<PermissionInfo> |
ApplicationContext.ApplicationPackageManager.queryPermissionsByGroup(String group,
int flags)
|
Intent |
ReceiverRestrictedContext.registerReceiver(BroadcastReceiver receiver,
IntentFilter filter,
String broadcastPermission,
Handler scheduler)
|
Intent |
ApplicationContext.registerReceiver(BroadcastReceiver receiver,
IntentFilter filter,
String broadcastPermission,
Handler scheduler)
|
Intent |
IActivityManager.registerReceiver(IApplicationThread caller,
IIntentReceiver receiver,
IntentFilter filter,
String requiredPermission)
|
Intent |
ActivityManagerProxy.registerReceiver(IApplicationThread caller,
IIntentReceiver receiver,
IntentFilter filter,
String perm)
|
void |
IActivityManager.removeContentProvider(IApplicationThread caller,
String name)
|
void |
ActivityManagerProxy.removeContentProvider(IApplicationThread caller,
String name)
|
void |
ActivityThread.PackageInfo.removeContextRegistrations(Context context,
String who,
String what)
|
(package private) void |
ActivityThread.removeDeadProvider(String name,
IContentProvider provider)
|
(package private) void |
ActivityThread.removeDeadProviderLocked(String name,
IContentProvider provider)
|
void |
ApplicationContext.ApplicationPackageManager.removePackageFromPreferred(String packageName)
|
void |
ApplicationContext.ApplicationPackageManager.removePermission(String name)
|
ProviderInfo |
ApplicationContext.ApplicationPackageManager.resolveContentProvider(String name,
int flags)
|
void |
IActivityManager.restartPackage(String packageName)
|
void |
ActivityManagerProxy.restartPackage(String packageName)
|
(package private) void |
SearchManager.restoreSearchDialog(Bundle inState,
String key)
Restore instance state after a rotation. |
(package private) void |
SearchManager.saveSearchDialog(Bundle outState,
String key)
Save instance state so we can recreate after a rotation. |
(package private) void |
ActivityThread.scheduleContextCleanup(ApplicationContext context,
String who,
String what)
|
(package private) void |
ApplicationContext.scheduleFinalCleanup(String who,
String what)
|
void |
IApplicationThread.scheduleReceiver(Intent intent,
ActivityInfo info,
int resultCode,
String data,
Bundle extras,
boolean sync)
|
void |
ApplicationThreadProxy.scheduleReceiver(Intent intent,
ActivityInfo info,
int resultCode,
String resultData,
Bundle map,
boolean sync)
|
void |
IApplicationThread.scheduleRegisteredReceiver(IIntentReceiver receiver,
Intent intent,
int resultCode,
String data,
Bundle extras,
boolean ordered)
|
void |
ApplicationThreadProxy.scheduleRegisteredReceiver(IIntentReceiver receiver,
Intent intent,
int resultCode,
String dataStr,
Bundle extras,
boolean ordered)
|
int |
IIntentSender.send(int code,
Intent intent,
String resolvedType,
IIntentReceiver finishedReceiver)
|
void |
ActivityThread.sendActivityResult(IBinder token,
String id,
int requestCode,
int resultCode,
Intent data)
|
void |
ApplicationContext.sendBroadcast(Intent intent,
String receiverPermission)
|
void |
ApplicationContext.sendOrderedBroadcast(Intent intent,
String receiverPermission)
|
void |
ApplicationContext.sendOrderedBroadcast(Intent intent,
String receiverPermission,
BroadcastReceiver resultReceiver,
Handler scheduler,
int initialCode,
String initialData,
Bundle initialExtras)
|
boolean |
IActivityPendingResult.sendResult(int code,
String data,
Bundle ex)
|
void |
Instrumentation.sendStringSync(String text)
Sends the key events corresponding to the text to the app being instrumented. |
void |
ApplicationContext.ApplicationPackageManager.setApplicationEnabledSetting(String packageName,
int newState,
int flags)
|
AlertDialog.Builder |
AlertDialog.Builder.setCursor(Cursor cursor,
DialogInterface.OnClickListener listener,
String labelColumn)
Set a list of items, which are supplied by the given Cursor, to be
displayed in the dialog as the content, you will be notified of the
selected item via the supplied listener. |
void |
IActivityManager.setDebugApp(String packageName,
boolean waitForDebugger,
boolean persistent)
|
void |
ActivityManagerProxy.setDebugApp(String packageName,
boolean waitForDebugger,
boolean persistent)
|
void |
TabActivity.setDefaultTab(String tag)
Sets the default tab that is the first tab highlighted. |
AlertDialog.Builder |
AlertDialog.Builder.setMultiChoiceItems(Cursor cursor,
String isCheckedColumn,
String labelColumn,
DialogInterface.OnMultiChoiceClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. |
AlertDialog.Builder |
AlertDialog.Builder.setSingleChoiceItems(Cursor cursor,
int checkedItem,
String labelColumn,
DialogInterface.OnClickListener listener)
Set a list of items to be displayed in the dialog as the content, you will be notified of the selected item via the supplied listener. |
void |
AlarmManager.setTimeZone(String timeZone)
|
void |
IAlarmManager.setTimeZone(String zone)
|
boolean |
SearchDialog.show(String initialQuery,
boolean selectInitialQuery,
ComponentName componentName,
Bundle appSearchData,
boolean globalSearch)
Set up the search dialog |
int |
IActivityManager.startActivity(IApplicationThread caller,
Intent intent,
String resolvedType,
Uri[] grantedUriPermissions,
int grantedMode,
IBinder resultTo,
String resultWho,
int requestCode,
boolean onlyIfNeeded,
boolean debug)
|
int |
ActivityManagerProxy.startActivity(IApplicationThread caller,
Intent intent,
String resolvedType,
Uri[] grantedUriPermissions,
int grantedMode,
IBinder resultTo,
String resultWho,
int requestCode,
boolean onlyIfNeeded,
boolean debug)
|
Window |
LocalActivityManager.startActivity(String id,
Intent intent)
Start a new activity running in the group. |
Activity |
ActivityThread.startActivityNow(Activity parent,
String id,
Intent intent,
ActivityInfo activityInfo,
IBinder token,
Bundle state)
|
Activity |
ActivityThread.startActivityNow(Activity parent,
String id,
Intent intent,
ActivityInfo activityInfo,
IBinder token,
Bundle state,
Object lastNonConfigurationInstance)
|
Activity |
ActivityThread.startActivityNow(Activity parent,
String id,
Intent intent,
IBinder token,
Bundle state)
|
boolean |
ApplicationContext.startInstrumentation(ComponentName className,
String profileFile,
Bundle arguments)
|
boolean |
IActivityManager.startInstrumentation(ComponentName className,
String profileFile,
int flags,
Bundle arguments,
IInstrumentationWatcher watcher)
|
boolean |
ActivityManagerProxy.startInstrumentation(ComponentName className,
String profileFile,
int flags,
Bundle arguments,
IInstrumentationWatcher watcher)
|
void |
IActivityManager.startRunning(String pkg,
String cls,
String action,
String data)
|
void |
ActivityManagerProxy.startRunning(String pkg,
String cls,
String action,
String indata)
|
void |
Activity.startSearch(String initialQuery,
boolean selectInitialQuery,
Bundle appSearchData,
boolean globalSearch)
This hook is called to launch the search UI. |
void |
SearchManager.startSearch(String initialQuery,
boolean selectInitialQuery,
ComponentName launchActivity,
Bundle appSearchData,
boolean globalSearch)
Launch search UI. |
ComponentName |
IActivityManager.startService(IApplicationThread caller,
Intent service,
String resolvedType)
|
ComponentName |
ActivityManagerProxy.startService(IApplicationThread caller,
Intent service,
String resolvedType)
|
int |
IActivityManager.stopService(IApplicationThread caller,
Intent service,
String resolvedType)
|
int |
ActivityManagerProxy.stopService(IApplicationThread caller,
Intent service,
String resolvedType)
|
void |
StatusBarManager.updateIcon(IBinder key,
String slot,
int iconId,
int iconLevel)
|
void |
IStatusBar.updateIcon(IBinder key,
String slot,
String iconPackage,
int iconId,
int iconLevel)
|
| Method parameters in android.app with type arguments of type String | |
|---|---|
(package private) void |
Activity.attach(Context context,
ActivityThread aThread,
Instrumentation instr,
IBinder token,
Application application,
Intent intent,
ActivityInfo info,
CharSequence title,
Activity parent,
String id,
Object lastNonConfigurationInstance,
HashMap<String,Object> lastNonConfigurationChildInstances,
Configuration config)
|
void |
IApplicationThread.bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
String profileName,
Bundle testArguments,
IInstrumentationWatcher testWatcher,
int debugMode,
Configuration config,
Map<String,IBinder> services)
|
void |
ApplicationThreadProxy.bindApplication(String packageName,
ApplicationInfo info,
List<ProviderInfo> providers,
ComponentName testName,
String profileName,
Bundle testArgs,
IInstrumentationWatcher testWatcher,
int debugMode,
Configuration config,
Map<String,IBinder> services)
|
| Constructors in android.app with parameters of type String | |
|---|---|
ActivityManager.RunningAppProcessInfo(String pProcessName,
int pPid,
String[] pArr)
|
|
ActivityManager.RunningAppProcessInfo(String pProcessName,
int pPid,
String[] pArr)
|
|
ActivityThread.PackageInfo(ActivityThread activityThread,
String name,
Context systemContext)
|
|
IActivityManager.ContentProviderHolder(ProviderInfo _info,
String _permissionFailure)
|
|
Instrumentation.ActivityMonitor(String cls,
Instrumentation.ActivityResult result,
boolean block)
Create a new ActivityMonitor that looks for a specific activity class to be started. |
|
IntentReceiverLeaked(String msg)
|
|
KeyguardManager.KeyguardLock(String tag)
|
|
PendingIntent.CanceledException(String name)
|
|
ResultInfo(String resultWho,
int requestCode,
int resultCode,
Intent data)
|
|
ServiceConnectionLeaked(String msg)
|
|
SuperNotCalledException(String msg)
|
|
| Uses of String in android.bluetooth |
|---|
| Fields in android.bluetooth declared as String | |
|---|---|
static String |
BluetoothIntent.ADDRESS
|
static String |
BluetoothIntent.ALIAS
|
static String |
BluetoothIntent.BOND_PREVIOUS_STATE
|
static String |
BluetoothIntent.BOND_STATE
|
static String |
BluetoothIntent.BOND_STATE_CHANGED_ACTION
Broadcast when the bond state of a remote device changes. |
static String |
BluetoothIntent.CLASS
|
static String |
BluetoothIntent.DISABLED_ACTION
|
static String |
BluetoothIntent.DISCOVERY_COMPLETED_ACTION
|
static String |
BluetoothIntent.DISCOVERY_STARTED_ACTION
|
static String |
BluetoothIntent.ENABLED_ACTION
|
static String |
BluetoothIntent.HEADSET_PREVIOUS_STATE
|
static String |
BluetoothIntent.HEADSET_STATE
|
static String |
BluetoothIntent.HEADSET_STATE_CHANGED_ACTION
|
String |
BluetoothAudioGateway.IncomingConnectionInfo.mAddress
|
static String |
BluetoothIntent.MODE
|
static String |
BluetoothIntent.MODE_CHANGED_ACTION
|
static String |
BluetoothIntent.NAME
|
static String |
BluetoothIntent.NAME_CHANGED_ACTION
|
static String |
BluetoothIntent.PAIRING_CANCEL_ACTION
|
static String |
BluetoothIntent.PAIRING_REQUEST_ACTION
|
static String |
BluetoothIntent.REASON
|
static String |
BluetoothIntent.REMOTE_ALIAS_CHANGED_ACTION
|
static String |
BluetoothIntent.REMOTE_ALIAS_CLEARED_ACTION
|
static String |
BluetoothIntent.REMOTE_DEVICE_CLASS_UPDATED_ACTION
|
static String |
BluetoothIntent.REMOTE_DEVICE_CONNECTED_ACTION
|
static String |
BluetoothIntent.REMOTE_DEVICE_DISAPPEARED_ACTION
|
static String |
BluetoothIntent.REMOTE_DEVICE_DISCONNECT_REQUESTED_ACTION
|
static String |
BluetoothIntent.REMOTE_DEVICE_DISCONNECTED_ACTION
|
static String |
BluetoothIntent.REMOTE_DEVICE_FOUND_ACTION
|
static String |
BluetoothIntent.REMOTE_NAME_FAILED_ACTION
|
static String |
BluetoothIntent.REMOTE_NAME_UPDATED_ACTION
|
static String |
BluetoothIntent.RSSI
|
static String |
BluetoothA2dp.SINK_PREVIOUS_STATE
int extra for SINK_STATE_CHANGED_ACTION |
static String |
BluetoothA2dp.SINK_STATE
int extra for SINK_STATE_CHANGED_ACTION |
static String |
BluetoothA2dp.SINK_STATE_CHANGED_ACTION
Indicates the state of an A2DP audio sink has changed. |
| Methods in android.bluetooth that return String | |
|---|---|
String |
HeadsetBase.getAddress()
|
String |
BluetoothDevice.getAddress()
|
String |
IBluetoothDevice.getAddress()
|
String |
BluetoothDevice.getCompany()
|
String |
IBluetoothDevice.getCompany()
|
String |
BluetoothHeadset.getHeadsetAddress()
Get the Bluetooth address of the current headset. |
String |
IBluetoothHeadset.getHeadsetAddress()
|
String |
BluetoothDevice.getMajorClass()
|
String |
IBluetoothDevice.getMajorClass()
|
String |
BluetoothDevice.getManufacturer()
|
String |
IBluetoothDevice.getManufacturer()
|
String |
BluetoothDevice.getMinorClass()
|
String |
IBluetoothDevice.getMinorClass()
|
String |
HeadsetBase.getName()
|
String |
BluetoothDevice.getName()
Get the friendly Bluetooth name of this device. |
String |
IBluetoothDevice.getName()
|
String |
BluetoothDevice.getRemoteAlias(String address)
|
String |
IBluetoothDevice.getRemoteAlias(String address)
|
String |
BluetoothDevice.getRemoteCompany(String address)
|
String |
IBluetoothDevice.getRemoteCompany(String address)
|
String |
BluetoothDevice.getRemoteMajorClass(String address)
|
String |
IBluetoothDevice.getRemoteMajorClass(String address)
|
String |
BluetoothDevice.getRemoteManufacturer(String address)
|
String |
IBluetoothDevice.getRemoteManufacturer(String address)
|
String |
BluetoothDevice.getRemoteMinorClass(String address)
|
String |
IBluetoothDevice.getRemoteMinorClass(String address)
|
String |
BluetoothDevice.getRemoteName(String address)
|
String |
IBluetoothDevice.getRemoteName(String address)
|
String |
BluetoothDevice.getRemoteRevision(String address)
|
String |
IBluetoothDevice.getRemoteRevision(String address)
|
String[] |
BluetoothDevice.getRemoteServiceClasses(String address)
|
String[] |
IBluetoothDevice.getRemoteServiceClasses(String address)
|
String |
BluetoothDevice.getRemoteVersion(String address)
|
String |
IBluetoothDevice.getRemoteVersion(String address)
|
String |
BluetoothDevice.getRevision()
|
String |
IBluetoothDevice.getRevision()
|
String |
BluetoothDevice.getVersion()
|
String |
IBluetoothDevice.getVersion()
|
String |
BluetoothDevice.lastSeen(String address)
|
String |
IBluetoothDevice.lastSeen(String address)
|
String |
BluetoothDevice.lastUsed(String address)
|
String |
IBluetoothDevice.lastUsed(String address)
|
String[] |
BluetoothDevice.listAclConnections()
List remote devices that have a low level (ACL) connection. |
String[] |
IBluetoothDevice.listAclConnections()
|
String[] |
BluetoothDevice.listBonds()
List remote devices that are bonded (paired) to the local device. |
String[] |
IBluetoothDevice.listBonds()
|
String[] |
BluetoothDevice.listRemoteDevices()
|
String[] |
IBluetoothDevice.listRemoteDevices()
|
static String |
BluetoothA2dp.stateToString(int state)
Helper for converting a state to a string. |
String |
AtCommandResult.toString()
Generate the string response ready to send |
| Methods in android.bluetooth that return types with arguments of type String | |
|---|---|
List<String> |
BluetoothA2dp.listConnectedSinks()
Check if any A2DP sink is connected. |
List<String> |
IBluetoothA2dp.listConnectedSinks()
|
| Methods in android.bluetooth with parameters of type String | |
|---|---|
void |
AtCommandResult.addResponse(String response)
Add another line to the response. |
int |
Database.addServiceRecordFromXml(String record)
Add a new service record, using XML. |
int |
Database.advertiseRfcommService(RfcommSocket socket,
String serviceName,
UUID uuid)
Advertise a service with an RfcommSocket. |
static void |
AtCommandResult.appendWithCrlf(StringBuilder str1,
String str2)
Append a string to a string builder, joining with a double CRLF. |
boolean |
RfcommSocket.bind(String device)
Binds a listening socket to the local device, or a non-listening socket to a remote device. |
boolean |
RfcommSocket.bind(String device,
int port)
Binds a listening socket to the local device, or a non-listening socket to a remote device. |
boolean |
BluetoothDevice.cancelBondProcess(String address)
Cancel an in-progress bonding request started with createBond. |
boolean |
IBluetoothDevice.cancelBondProcess(String address)
|
boolean |
BluetoothDevice.cancelPin(String address)
|
boolean |
IBluetoothDevice.cancelPin(String address)
|
static boolean |
BluetoothDevice.checkBluetoothAddress(String address)
|
boolean |
BluetoothDevice.clearRemoteAlias(String address)
|
boolean |
IBluetoothDevice.clearRemoteAlias(String address)
|
boolean |
ScoSocket.connect(String address)
Connect this SCO socket to the given BT address. |
boolean |
RfcommSocket.connect(String address,
int port)
Starts a blocking connect to a remote RFCOMM socket. |
boolean |
RfcommSocket.connectAsync(String address,
int port)
Starts an asynchronous (nonblocking) connect to a remote RFCOMM socket. |
boolean |
BluetoothHeadset.connectHeadset(String address)
Request to initiate a connection to a headset. |
boolean |
IBluetoothHeadset.connectHeadset(String address)
|
int |
BluetoothA2dp.connectSink(String address)
Initiate a connection to an A2DP sink. |
int |
IBluetoothA2dp.connectSink(String address)
|
static byte[] |
BluetoothDevice.convertPinToBytes(String pin)
Check that a pin is valid and convert to byte array. |
boolean |
BluetoothDevice.createBond(String address)
Create a bonding with a remote bluetooth device. |
boolean |
IBluetoothDevice.createBond(String address)
|
boolean |
BluetoothDevice.disconnectRemoteDeviceAcl(String address)
Perform a low level (ACL) disconnection of a remote device. |
boolean |
IBluetoothDevice.disconnectRemoteDeviceAcl(String address)
|
int |
BluetoothA2dp.disconnectSink(String address)
Initiate disconnect from an A2DP sink. |
int |
IBluetoothA2dp.disconnectSink(String address)
|
int |
BluetoothDevice.getBondState(String address)
Get the bonding state of a remote device. |
int |
IBluetoothDevice.getBondState(String address)
|
int |
BluetoothHeadset.getPriority(String address)
Get priority of headset. |
int |
IBluetoothHeadset.getPriority(String address)
|
String |
BluetoothDevice.getRemoteAlias(String address)
|
String |
IBluetoothDevice.getRemoteAlias(String address)
|
int |
BluetoothDevice.getRemoteClass(String address)
|
int |
IBluetoothDevice.getRemoteClass(String address)
|
String |
BluetoothDevice.getRemoteCompany(String address)
|
String |
IBluetoothDevice.getRemoteCompany(String address)
|
byte[] |
BluetoothDevice.getRemoteFeatures(String address)
|
byte[] |
IBluetoothDevice.getRemoteFeatures(String adddress)
|
String |
BluetoothDevice.getRemoteMajorClass(String address)
|
String |
IBluetoothDevice.getRemoteMajorClass(String address)
|
String |
BluetoothDevice.getRemoteManufacturer(String address)
|
String |
IBluetoothDevice.getRemoteManufacturer(String address)
|
String |
BluetoothDevice.getRemoteMinorClass(String address)
|
String |
IBluetoothDevice.getRemoteMinorClass(String address)
|
String |
BluetoothDevice.getRemoteName(String address)
|
String |
IBluetoothDevice.getRemoteName(String address)
|
String |
BluetoothDevice.getRemoteRevision(String address)
|
String |
IBluetoothDevice.getRemoteRevision(String address)
|
boolean |
IBluetoothDevice.getRemoteServiceChannel(String address,
int uuid16,
IBluetoothDeviceCallback callback)
|
boolean |
BluetoothDevice.getRemoteServiceChannel(String address,
short uuid16,
IBluetoothDeviceCallback callback)
Returns the RFCOMM channel associated with the 16-byte UUID on the remote Bluetooth address. |
String[] |
BluetoothDevice.getRemoteServiceClasses(String address)
|
String[] |
IBluetoothDevice.getRemoteServiceClasses(String address)
|
String |
BluetoothDevice.getRemoteVersion(String address)
|
String |
IBluetoothDevice.getRemoteVersion(String address)
|
int |
BluetoothA2dp.getSinkPriority(String address)
Get priority of a2dp sink. |
int |
IBluetoothA2dp.getSinkPriority(String address)
|
int |
BluetoothA2dp.getSinkState(String address)
Get the state of an A2DP sink |
int |
IBluetoothA2dp.getSinkState(String address)
|
AtCommandResult |
AtCommandHandler.handleBasicCommand(String arg)
Handle Basic commands "ATA". |
protected void |
HeadsetBase.handleInput(String input)
|
boolean |
BluetoothDevice.isAclConnected(String address)
Check if a specified remote device has a low level (ACL) connection. |
boolean |
IBluetoothDevice.isAclConnected(String address)
|
boolean |
BluetoothHeadset.isConnected(String address)
Returns true if the specified headset is connected (does not include connecting). |
boolean |
IBluetoothHeadset.isConnected(String address)
|
boolean |
BluetoothA2dp.isSinkConnected(String address)
Check if a specified A2DP sink is connected. |
String |
BluetoothDevice.lastSeen(String address)
|
String |
IBluetoothDevice.lastSeen(String address)
|
String |
BluetoothDevice.lastUsed(String address)
|
String |
IBluetoothDevice.lastUsed(String address)
|
void |
IBluetoothDeviceCallback.onGetRemoteServiceChannelResult(String address,
int channel)
|
AtCommandResult |
AtParser.process(String raw_input)
Processes an incoming AT command line. |
void |
AtParser.register(String command,
AtCommandHandler handler)
Register an Extended command handler. |
boolean |
BluetoothDevice.removeBond(String address)
Remove an already exisiting bonding (delete the link key). |
boolean |
IBluetoothDevice.removeBond(String address)
|
boolean |
HeadsetBase.sendURC(String urc)
|
boolean |
BluetoothDevice.setName(String name)
Set the friendly Bluetooth name of this device. |
boolean |
IBluetoothDevice.setName(String name)
|
boolean |
BluetoothDevice.setPin(String address,
byte[] pin)
|
boolean |
IBluetoothDevice.setPin(String address,
byte[] pin)
|
boolean |
BluetoothHeadset.setPriority(String address,
int priority)
Set priority of headset. |
boolean |
IBluetoothHeadset.setPriority(String address,
int priority)
|
boolean |
BluetoothDevice.setRemoteAlias(String address,
String alias)
|
boolean |
IBluetoothDevice.setRemoteAlias(String address,
String alias)
|
int |
BluetoothA2dp.setSinkPriority(String address,
int priority)
Set priority of a2dp sink. |
int |
IBluetoothA2dp.setSinkPriority(String address,
int priority)
|
void |
Database.updateServiceRecordFromXml(int handle,
String record)
Update an exisiting record, using XML. |
| Constructors in android.bluetooth with parameters of type String | |
|---|---|
AtCommandResult(String response)
Construct a new AtCommandResult with result code OK, and the specified single line response. |
|
BluetoothAudioGateway.IncomingConnectionInfo(BluetoothDevice bluetooth,
String address,
int socketFd,
int rfcommChan)
|
|
HeadsetBase(PowerManager pm,
BluetoothDevice bluetooth,
String address,
int rfcommChannel)
|
|
HeadsetBase(PowerManager pm,
BluetoothDevice bluetooth,
String address,
int socketFd,
int rfcommChannel,
Handler handler)
|
|
| Uses of String in android.content |
|---|
| Fields in android.content declared as String | |
|---|---|
(package private) String |
SyncManager.SyncOperation.account
|
String |
SyncManager.SyncHandler.SyncNotificationInfo.account
|
static String |
Intent.ACTION_AIRPLANE_MODE_CHANGED
Broadcast Action: The user has switched the phone into or out of Airplane Mode. |
static String |
Intent.ACTION_ALARM_CHANGED
Alarm Changed Action: This is broadcast when the AlarmClock application's alarm is set or unset. |
static String |
Intent.ACTION_ALL_APPS
Activity Action: List all available applications |
static String |
Intent.ACTION_ANSWER
Activity Action: Handle an incoming phone call. |
static String |
Intent.ACTION_ATTACH_DATA
Used to indicate that some piece of data should be attached to some other place. |
static String |
Intent.ACTION_BATTERY_CHANGED
Broadcast Action: The charging state, or charge level of the battery has changed. |
static String |
Intent.ACTION_BATTERY_LOW
Broadcast Action: Indicates low battery condition on the device. |
static String |
Intent.ACTION_BOOT_COMPLETED
Broadcast Action: This is broadcast once, after the system has finished booting. |
static String |
Intent.ACTION_BUG_REPORT
Activity Action: Show activity for reporting a bug. |
static String |
Intent.ACTION_CALL
Activity Action: Perform a call to someone specified by the data. |
static String |
Intent.ACTION_CALL_BUTTON
Activity Action: The user pressed the "call" button to go to the dialer or other appropriate UI for placing a call. |
static String |
Intent.ACTION_CALL_EMERGENCY
Activity Action: Perform a call to an emergency number specified by the data. |
static String |
Intent.ACTION_CALL_PRIVILEGED
Activity action: Perform a call to any number (emergency or not) specified by the data. |
static String |
Intent.ACTION_CAMERA_BUTTON
Broadcast Action: The "Camera Button" was pressed. |
static String |
Intent.ACTION_CHOOSER
Activity Action: Display an activity chooser, allowing the user to pick what they want to before proceeding. |
static String |
Intent.ACTION_CLOSE_SYSTEM_DIALOGS
Broadcast Action: This is broadcast when a user action should request a temporary system dialog to dismiss. |
static String |
Intent.ACTION_CONFIGURATION_CHANGED
Broadcast Action: The current device Configuration
(orientation, locale, etc) has changed. |
static String |
Intent.ACTION_CREATE_SHORTCUT
Activity Action: Creates a shortcut. |
static String |
Intent.ACTION_DATE_CHANGED
Broadcast Action: The date has changed. |
static String |
Intent.ACTION_DEFAULT
A synonym for Intent.ACTION_VIEW, the "standard" action that is
performed on a piece of data. |
static String |
Intent.ACTION_DELETE
Activity Action: Delete the given data from its container. |
static String |
Intent.ACTION_DEVICE_STORAGE_LOW
Broadcast Action: Indicates low memory condition on the device |
static String |
Intent.ACTION_DEVICE_STORAGE_OK
Broadcast Action: Indicates low memory condition on the device no longer exists |
static String |
Intent.ACTION_DIAL
Activity Action: Dial a number as specified by the data. |
static String |
Intent.ACTION_EDIT
Activity Action: Provide explicit editable access to the given data. |
static String |
Intent.ACTION_FACTORY_TEST
Activity Action: Main entry point for factory tests. |
static String |
Intent.ACTION_GET_CONTENT
Activity Action: Allow the user to select a particular kind of data and return it. |
static String |
Intent.ACTION_GTALK_SERVICE_CONNECTED
Broadcast Action: An GTalk connection has been established. |
static String |
Intent.ACTION_GTALK_SERVICE_DISCONNECTED
Broadcast Action: An GTalk connection has been disconnected. |
static String |
Intent.ACTION_HEADSET_PLUG
Broadcast Action: Wired Headset plugged in or unplugged. |
static String |
Intent.ACTION_INPUT_METHOD_CHANGED
Broadcast Action: An input method has been changed. |
static String |
Intent.ACTION_INSERT
Activity Action: Insert an empty item into the given container. |
static String |
Intent.ACTION_INSERT_OR_EDIT
Activity Action: Pick an existing item, or insert a new item, and then edit it. |
static String |
Intent.ACTION_MAIN
Activity Action: Start as a main entry point, does not expect to receive data. |
static String |
Intent.ACTION_MANAGE_PACKAGE_STORAGE
Broadcast Action: Indicates low memory condition notification acknowledged by user and package management should be started. |
static String |
Intent.ACTION_MEDIA_BAD_REMOVAL
Broadcast Action: External media was removed from SD card slot, but mount point was not unmounted. |
static String |
Intent.ACTION_MEDIA_BUTTON
Broadcast Action: The "Media Button" was pressed. |
static String |
Intent.ACTION_MEDIA_CHECKING
Broadcast Action: External media is present, and being disk-checked The path to the mount point for the checking media is contained in the Intent.mData field. |
static String |
Intent.ACTION_MEDIA_EJECT
Broadcast Action: User has expressed the desire to remove the external storage media. |
static String |
Intent.ACTION_MEDIA_MOUNTED
Broadcast Action: External media is present and mounted at its mount point. |
static String |
Intent.ACTION_MEDIA_NOFS
Broadcast Action: External media is present, but is using an incompatible fs (or is blank) The path to the mount point for the checking media is contained in the Intent.mData field. |
static String |
Intent.ACTION_MEDIA_REMOVED
Broadcast Action: External media has been removed. |
static String |
Intent.ACTION_MEDIA_SCANNER_FINISHED
Broadcast Action: The media scanner has finished scanning a directory. |
static String |
Intent.ACTION_MEDIA_SCANNER_SCAN_FILE
Broadcast Action: Request the media scanner to scan a file and add it to the media database. |
static String |
Intent.ACTION_MEDIA_SCANNER_STARTED
Broadcast Action: The media scanner has started scanning a directory. |
static String |
Intent.ACTION_MEDIA_SHARED
Broadcast Action: External media is unmounted because it is being shared via USB mass storage. |
static String |
Intent.ACTION_MEDIA_UNMOUNTABLE
Broadcast Action: External media is present but cannot be mounted. |
static String |
Intent.ACTION_MEDIA_UNMOUNTED
Broadcast Action: External media is present, but not mounted at its mount point. |
static String |
Intent.ACTION_NEW_OUTGOING_CALL
Broadcast Action: An outgoing call is about to be placed. |
static String |
Intent.ACTION_PACKAGE_ADDED
Broadcast Action: A new application package has been installed on the device. |
static String |
Intent.ACTION_PACKAGE_CHANGED
Broadcast Action: An existing application package has been changed (e.g. |
static String |
Intent.ACTION_PACKAGE_INSTALL
Broadcast Action: Trigger the download and eventual installation of a package. |
static String |
Intent.ACTION_PACKAGE_REMOVED
Broadcast Action: An existing application package has been removed from the device. |
static String |
Intent.ACTION_PACKAGE_RESTARTED
Broadcast Action: The user has restarted a package, all runtime state associated with it (processes, alarms, notifications, etc) should be remove. |
static String |
Intent.ACTION_PICK
Activity Action: Pick an item from the data, returning what was selected. |
static String |
Intent.ACTION_PICK_ACTIVITY
Activity Action: Pick an activity given an intent, returning the class selected. |
static String |
Intent.ACTION_POWER_CONNECTED
Broadcast Action: External power has been connected to the device. |
static String |
Intent.ACTION_POWER_DISCONNECTED
Broadcast Action: External power has been removed from the device. |
static String |
Intent.ACTION_PROVIDER_CHANGED
Broadcast Action: Some content providers have parts of their namespace where they publish new events or items that the user may be especially interested in. |
static String |
Intent.ACTION_REBOOT
Broadcast Action: Have the device reboot. |
static String |
Intent.ACTION_RUN
Activity Action: Run the data, whatever that means. |
static String |
Intent.ACTION_SCREEN_OFF
Broadcast Action: Sent after the screen turns off. |
static String |
Intent.ACTION_SCREEN_ON
Broadcast Action: Sent after the screen turns on. |
static String |
Intent.ACTION_SEARCH
Activity Action: Perform a search. |
static String |
Intent.ACTION_SEND
Activity Action: Deliver some data to someone else. |
static String |
Intent.ACTION_SENDTO
Activity Action: Send a message to someone specified by the data. |
static String |
Intent.ACTION_SET_WALLPAPER
Activity Action: Show settings for choosing wallpaper |
static String |
Intent.ACTION_SYNC
Activity Action: Perform a data synchronization. |
static String |
Intent.ACTION_SYNC_STATE_CHANGED
Sync State Changed Action: This is broadcast when the sync starts or stops or when one has been failing for a long time. |
static String |
Intent.ACTION_TIME_CHANGED
Broadcast Action: The time was set. |
static String |
Intent.ACTION_TIME_TICK
Broadcast Action: The current time has changed. |
static String |
Intent.ACTION_TIMEZONE_CHANGED
Broadcast Action: The timezone has changed. |
static String |
Intent.ACTION_UID_REMOVED
Broadcast Action: A user ID has been removed from the system. |
static String |
Intent.ACTION_UMS_CONNECTED
Broadcast Action: The device has entered USB Mass Storage mode. |
static String |
Intent.ACTION_UMS_DISCONNECTED
Broadcast Action: The device has exited USB Mass Storage mode. |
static String |
Intent.ACTION_VIEW
Activity Action: Display the data to the user. |
static String |
Intent.ACTION_VOICE_COMMAND
Activity Action: Start Voice Command. |
static String |
Intent.ACTION_WALLPAPER_CHANGED
Broadcast Action: The current system wallpaper has changed. |
static String |
Intent.ACTION_WEB_SEARCH
Activity Action: Perform a web search. |
static String |
Context.ACTIVITY_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
ActivityManager for interacting with the global
system state. |
static String |
Context.ALARM_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
AlarmManager for receiving intents at a
time of your choosing. |
static String |
Context.AUDIO_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
AudioManager for handling management of volume,
ringer modes and audio routing. |
(package private) String |
SyncManager.SyncOperation.authority
|
String |
SyncManager.SyncHandler.SyncNotificationInfo.authority
|
static String |
Context.BLUETOOTH_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a BluetoothDevice for interacting with Bluetooth. |
static String |
Intent.CATEGORY_ALTERNATIVE
Set if the activity should be considered as an alternative action to the data the user is currently viewing. |
static String |
Intent.CATEGORY_BROWSABLE
Activities that can be safely invoked from a browser must support this category. |
static String |
Intent.CATEGORY_DEFAULT
Set if the activity should be an option for the default action (center press) to perform on a piece of data. |
static String |
Intent.CATEGORY_DEVELOPMENT_PREFERENCE
This activity is a development preference panel. |
static String |
Intent.CATEGORY_EMBED
Capable of running inside a parent activity container. |
static String |
Intent.CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST
To be used as code under test for framework instrumentation tests. |
static String |
Intent.CATEGORY_GADGET
This activity can be embedded inside of another activity that is hosting gadgets. |
static String |
Intent.CATEGORY_HOME
This is the home activity, that is the first activity that is displayed when the device boots. |
static String |
Intent.CATEGORY_LAUNCHER
Should be displayed in the top-level launcher. |
static String |
Intent.CATEGORY_MONKEY
This activity may be exercised by the monkey or other automated test tools. |
static String |
Intent.CATEGORY_OPENABLE
Used to indicate that a GET_CONTENT intent only wants URIs that can be opened with ContentResolver.openInputStream. |
static String |
Intent.CATEGORY_PREFERENCE
This activity is a preference panel. |
static String |
Intent.CATEGORY_SAMPLE_CODE
To be used as an sample code example (not part of the normal user experience). |
static String |
Intent.CATEGORY_SELECTED_ALTERNATIVE
Set if the activity should be considered as an alternative selection action to the data the user has currently selected. |
static String |
Intent.CATEGORY_TAB
Intended to be used as a tab inside of an containing TabActivity. |
static String |
Intent.CATEGORY_TEST
To be used as a test (not part of the normal user experience). |
static String |
Intent.CATEGORY_UNIT_TEST
To be used as a unit test (run through the Test Harness). |
static String |
Context.CLIPBOARD_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
ClipboardManager for accessing and modifying
the contents of the global clipboard. |
static String |
Context.CONNECTIVITY_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a ConnectivityManager for handling management of
network connections. |
static String |
ContentResolver.CURSOR_DIR_BASE_TYPE
This is the Android platform's base MIME type for a content: URI containing a Cursor of zero or more items. |
static String |
ContentResolver.CURSOR_ITEM_BASE_TYPE
This is the Android platform's base MIME type for a content: URI containing a Cursor of a single item. |
static String |
IContentService.descriptor
|
static String |
IContentProvider.descriptor
|
static String |
Intent.EXTRA_ALARM_COUNT
Used as an int extra field in AlarmManager intents
to tell the application being invoked how many pending alarms are being
delievered with the intent. |
static String |
Intent.EXTRA_AUDIO_ROUTE
Used as an int extra field in Intent.ACTION_VOICE_COMMAND
intents to request which audio route the voice command should prefer. |
static String |
Intent.EXTRA_BCC
A String[] holding e-mail addresses that should be blind carbon copied. |
static String |
Intent.EXTRA_CC
A String[] holding e-mail addresses that should be carbon copied. |
static String |
Intent.EXTRA_DONT_KILL_APP
Used as an boolean extra field in Intent.ACTION_PACKAGE_REMOVED or
Intent.ACTION_PACKAGE_CHANGED intents to override the default action
of restarting the application. |
static String |
Intent.EXTRA_EMAIL
A String[] holding e-mail addresses that should be delivered to. |
static String |
Intent.EXTRA_INTENT
An Intent describing the choices you would like shown with Intent.ACTION_PICK_ACTIVITY. |
static String |
Intent.EXTRA_KEY_EVENT
A KeyEvent object containing the event that
triggered the creation of the Intent it is in. |
static String |
Intent.EXTRA_PHONE_NUMBER
A String holding the phone number originally entered in Intent.ACTION_NEW_OUTGOING_CALL, or the actual
number to call in a Intent.ACTION_CALL. |
static String |
Intent.EXTRA_SHORTCUT_ICON
The name of the extra used to define the icon, as a Bitmap, of a shortcut. |
static String |
Intent.EXTRA_SHORTCUT_ICON_RESOURCE
The name of the extra used to define the icon, as a ShortcutIconResource, of a shortcut. |
static String |
Intent.EXTRA_SHORTCUT_INTENT
The name of the extra used to define the Intent of a shortcut. |
static String |
Intent.EXTRA_SHORTCUT_NAME
The name of the extra used to define the name of a shortcut. |
static String |
Intent.EXTRA_STREAM
A content: URI holding a stream of data associated with the Intent, used with Intent.ACTION_SEND to supply the data being sent. |
static String |
Intent.EXTRA_SUBJECT
A constant string holding the desired subject line of a message. |
static String |
Intent.EXTRA_TEMPLATE
The initial data to place in a newly created record. |
static String |
Intent.EXTRA_TEXT
A constant CharSequence that is associated with the Intent, used with Intent.ACTION_SEND to supply the literal data to be sent. |
static String |
Intent.EXTRA_TITLE
A CharSequence dialog title to provide to the user when used with a Intent.ACTION_CHOOSER. |
static String |
Intent.EXTRA_UID
Used as an int extra field in Intent.ACTION_UID_REMOVED
intents to supply the uid the package had been assigned. |
static String |
Context.GADGET_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
for accessing wallpapers. |
static String |
Context.INPUT_METHOD_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
InputMethodManager for accessing input
methods. |
(package private) String |
SyncManager.SyncOperation.key
|
static String |
Context.KEYGUARD_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
NotificationManager for controlling keyguard. |
static String |
Context.LAYOUT_INFLATER_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
LayoutInflater for inflating layout resources in this
context. |
static String |
Context.LOCATION_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a LocationManager for controlling location
updates. |
protected String |
AbstractTableMerger.mDeletedTable
|
protected String |
AbstractTableMerger.mTable
|
static String |
Context.NOTIFICATION_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
NotificationManager for informing the user of
background events. |
String |
AsyncQueryHandler.WorkerArgs.orderBy
|
String |
Intent.ShortcutIconResource.packageName
The package name of the application containing the icon. |
static String |
Context.POWER_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
PowerManager for controlling power management,
including "wake locks," which let you keep the device on while
you're running long tasks. |
String[] |
AsyncQueryHandler.WorkerArgs.projection
|
String |
Intent.ShortcutIconResource.resourceName
The resource name of the icon, including package, name and type. |
static String |
ContentResolver.SCHEME_ANDROID_RESOURCE
|
static String |
ContentResolver.SCHEME_CONTENT
|
static String |
ContentResolver.SCHEME_FILE
|
static String |
Context.SEARCH_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a SearchManager for handling searches. |
String |
AsyncQueryHandler.WorkerArgs.selection
|
String[] |
AsyncQueryHandler.WorkerArgs.selectionArgs
|
static String |
Context.SENSOR_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a SensorManager for accessing sensors. |
static String |
IContentService.SERVICE_NAME
|
static String |
Context.STATUS_BAR_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a StatusBarManager for interacting with the status bar. |
static String |
ContentResolver.SYNC_EXTRAS_ACCOUNT
|
static String |
ContentResolver.SYNC_EXTRAS_DISCARD_LOCAL_DELETIONS
|
static String |
ContentResolver.SYNC_EXTRAS_EXPEDITED
|
static String |
ContentResolver.SYNC_EXTRAS_FORCE
|
static String |
ContentResolver.SYNC_EXTRAS_OVERRIDE_TOO_MANY_DELETIONS
|
static String |
ContentResolver.SYNC_EXTRAS_UPLOAD
|
static String |
ContentValues.TAG
|
static String |
Context.TELEPHONY_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
TelephonyManager for handling management the
telephony features of the device. |
static String |
Context.VIBRATOR_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a Vibrator for interacting with the vibration hardware. |
static String |
Context.WALLPAPER_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
com.android.server.WallpaperService for accessing wallpapers. |
static String |
Context.WIFI_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a WifiManager for handling management of
Wi-Fi access. |
static String |
Context.WINDOW_SERVICE
Use with Context.getSystemService(java.lang.String) to retrieve a
WindowManager for accessing the system's window
manager. |
| Methods in android.content that return String | |
|---|---|
abstract String[] |
Context.databaseList()
Returns an array of strings naming the private databases associated with this Context's application package. |
String[] |
ContextWrapper.databaseList()
|
abstract String[] |
Context.fileList()
Returns an array of strings naming the private files associated with this Context's application package. |
String[] |
ContextWrapper.fileList()
|
String |
ComponentName.flattenToShortString()
The samee as ComponentName.flattenToString(), but abbreviates the class
name if it is a suffix of the package. |
String |
ComponentName.flattenToString()
Return a String that unambiguously describes both the package and class names contained in the ComponentName. |
String |
Intent.getAction()
Retrieve the general action to be performed, such as Intent.ACTION_VIEW. |
String |
IntentFilter.getAction(int index)
Return an action in the filter. |
String |
ContentValues.getAsString(String key)
Gets a value and converts it to a String. |
String |
IntentFilter.getCategory(int index)
Return a category in the filter. |
String |
ComponentName.getClassName()
Return the class name of this component. |
String |
IntentFilter.getDataScheme(int index)
Return a data scheme in the filter. |
String |
Intent.getDataString()
The same as Intent.getData(), but returns the URI as an encoded
String. |
String |
IntentFilter.getDataType(int index)
Return a data type in the filter. |
String |
IntentFilter.AuthorityEntry.getHost()
|
abstract String |
Context.getPackageCodePath()
Return the full path to this context's code and asset files. |
String |
ContextWrapper.getPackageCodePath()
|
abstract String |
Context.getPackageName()
Return the name of this application's package. |
String |
ContextWrapper.getPackageName()
|
String |
ComponentName.getPackageName()
Return the package name of this component. |
abstract String |
Context.getPackageResourcePath()
Return the full path to this context's resource files. |
String |
ContextWrapper.getPackageResourcePath()
|
String |
ContentProvider.getReadPermission()
Return the name of the permission required for read-only access to this content provider. |
String |
BroadcastReceiver.getResultData()
Retrieve the current result data, as set by the previous receiver. |
String |
Intent.getScheme()
Return the scheme portion of the intent's data. |
String |
ComponentName.getShortClassName()
Return the class name, either fully qualified or in a shortened form (with a leading '.') if it is a suffix of the package. |
String |
Context.getString(int resId)
Return a localized string from the application's package's default string table. |
String |
Context.getString(int resId,
Object... formatArgs)
Return a localized formatted string from the application's package's default string table, substituting the format arguments as defined in Formatter and format(java.lang.String, java.lang.Object...). |
String |
SharedPreferences.getString(String key,
String defValue)
Retrieve a String value from the preferences. |
String[] |
Intent.getStringArrayExtra(String name)
Retrieve extended data from the intent. |
String |
Intent.getStringExtra(String name)
Retrieve extended data from the intent. |
abstract String |
SyncableContentProvider.getSyncingAccount()
The account of the most recent call to onSyncStart() |
String |
AbstractSyncableContentProvider.getSyncingAccount()
The account of the most recent call to onSyncStart() |
String |
SyncManager.getSyncingAccount()
|
String |
Intent.getType()
Retrieve any explicit MIME type included in the intent. |
String |
SyncStateContentProviderHelper.Provider.getType(Uri uri)
|
abstract String |
ContentProvider.getType(Uri uri)
Return the MIME type of the data at the given URI. |
String |
ContentProvider.Transport.getType(Uri uri)
|
String |
SearchRecentSuggestionsProvider.getType(Uri uri)
This method is provided for use by the ContentResolver. |
String |
ContentResolver.getType(Uri url)
Return the MIME type of the given content URL. |
String |
IContentProvider.getType(Uri url)
|
String |
ContentProviderProxy.getType(Uri url)
|
String |
SyncStorageEngine.getType(Uri url)
Implements the ContentProvider.getType(android.net.Uri) method |
String |
SyncProvider.getType(Uri url)
|
String |
ContentProvider.getWritePermission()
Return the name of the permission required for read/write access to this content provider. |
String |
IntentFilter.matchCategories(Set<String> categories)
Match this filter against an Intent's categories. |
String |
Intent.resolveType(ContentResolver resolver)
Return the MIME data type of this intent. |
String |
Intent.resolveType(Context context)
Return the MIME data type of this intent. |
String |
Intent.resolveTypeIfNeeded(ContentResolver resolver)
Return the MIME data type of this intent, only if it will be needed for intent resolution. |
String |
SyncResult.toDebugString()
Generates a debugging string indicating the status. |
String |
ComponentName.toShortString()
Return string representation of this class without the class's name as a prefix. |
String |
SyncResult.toString()
|
String |
ContentValues.toString()
|
String |
Intent.toString()
|
String |
Intent.ShortcutIconResource.toString()
|
String |
ComponentName.toString()
|
String |
SyncManager.SyncOperation.toString()
|
String |
SyncManager.ActiveSyncContext.toString()
|
String |
SyncManager.SyncHandler.SyncNotificationInfo.toString()
|
String |
SyncStats.toString()
|
String |
Intent.toURI()
|
| Methods in android.content that return types with arguments of type String | |
|---|---|
Iterator<String> |
IntentFilter.actionsIterator()
Return an iterator over the filter's actions. |
Iterator<String> |
IntentFilter.categoriesIterator()
Return an iterator over the filter's categories. |
Map<String,?> |
SharedPreferences.getAll()
Retrieve all values from the preferences. |
Set<String> |
Intent.getCategories()
Return the set of all categories in the intent. |
Map<String,ContentValues> |
ContentQueryMap.getRows()
|
ArrayList<String> |
ContentValues.getStringArrayList(String key)
Deprecated. |
ArrayList<String> |
Intent.getStringArrayListExtra(String name)
Retrieve extended data from the intent. |
Iterator<String> |
IntentFilter.schemesIterator()
Return an iterator over the filter's data schemes. |
Iterator<String> |
IntentFilter.typesIterator()
Return an iterator over the filter's data types. |
Set<Map.Entry<String,Object>> |
ContentValues.valueSet()
Returns a set of all of the keys and values |
| Methods in android.content with parameters of type String | ||
|---|---|---|
protected abstract IContentProvider |
ContentResolver.acquireProvider(Context c,
String name)
|
|
IContentProvider |
ContentResolver.acquireProvider(String name)
|
|
void |
IntentFilter.addAction(String action)
Add a new Intent action to match against. |
|
void |
IntentFilter.addCategory(String category)
Add a new Intent category to match against. |
|
Intent |
Intent.addCategory(String category)
Add a new category to the intent. |
|
void |
IntentFilter.addDataAuthority(String host,
String port)
Add a new Intent data authority to match against. |
|
void |
IntentFilter.addDataPath(String path,
int type)
Add a new Intent data oath to match against. |
|
void |
IntentFilter.addDataScheme(String scheme)
Add a new Intent data scheme to match against. |
|
void |
IntentFilter.addDataType(String type)
Add a new Intent data type to match against. |
|
void |
UriMatcher.addURI(String authority,
String path,
int code)
Add a URI to match, and the code to return when this URI is matched. |
|
IBulkCursor |
ContentProvider.Transport.bulkQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
Remote version of a query, which returns an IBulkCursor. |
|
IBulkCursor |
ContentProvider.Transport.bulkQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
Remote version of a query, which returns an IBulkCursor. |
|
IBulkCursor |
ContentProvider.Transport.bulkQuery(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
Remote version of a query, which returns an IBulkCursor. |
|
IBulkCursor |
IContentProvider.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
|
IBulkCursor |
IContentProvider.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
|
IBulkCursor |
IContentProvider.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
|
IBulkCursor |
ContentProviderProxy.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
|
IBulkCursor |
ContentProviderProxy.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
|
IBulkCursor |
ContentProviderProxy.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
|
abstract int |
Context.checkCallingOrSelfPermission(String permission)
Determine whether the calling process of an IPC or you have been granted a particular permission. |
|
int |
ContextWrapper.checkCallingOrSelfPermission(String permission)
|
|
abstract int |
Context.checkCallingPermission(String permission)
Determine whether the calling process of an IPC you are handling has been granted a particular permission. |
|
int |
ContextWrapper.checkCallingPermission(String permission)
|
|
abstract int |
Context.checkPermission(String permission,
int pid,
int uid)
Determine whether the given permission is allowed for a particular process and user ID running in the system. |
|
int |
ContextWrapper.checkPermission(String permission,
int pid,
int uid)
|
|
abstract int |
Context.checkUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags)
Check both a Uri and normal permission. |
|
int |
ContextWrapper.checkUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags)
|
|
void |
SyncManager.SyncQueue.clear(String account,
String authority)
|
|
boolean |
SharedPreferences.contains(String key)
Checks whether the preferences contains a preference. |
|
boolean |
ContentValues.containsKey(String key)
Returns true if this object has the named value. |
|
void |
SyncStateContentProviderHelper.copySyncState(SQLiteDatabase dbSrc,
SQLiteDatabase dbDest,
String account)
Replaces the contents of the _sync_state table in the destination ContentProvider with the row that matches account, if any, in the source ContentProvider. |
|
static IntentFilter |
IntentFilter.create(String action,
String dataType)
Create a new IntentFilter instance with a specified action and MIME type, where you know the MIME type is correctly formatted. |
|
abstract Context |
Context.createPackageContext(String packageName,
int flags)
Return a new Context object for the given application name. |
|
Context |
ContextWrapper.createPackageContext(String packageName,
int flags)
|
|
int |
SyncStorageEngine.delete(boolean callerIsTheProvider,
Uri url,
String where,
String[] whereArgs)
Implements the ContentProvider.delete(android.net.Uri, java.lang.String, java.lang.String[]) method |
|
int |
SyncStorageEngine.delete(boolean callerIsTheProvider,
Uri url,
String where,
String[] whereArgs)
Implements the ContentProvider.delete(android.net.Uri, java.lang.String, java.lang.String[]) method |
|
int |
SyncStateContentProviderHelper.Provider.delete(Uri url,
String userWhere,
String[] whereArgs)
|
|
int |
SyncStateContentProviderHelper.Provider.delete(Uri url,
String userWhere,
String[] whereArgs)
|
|
abstract int |
ContentProvider.delete(Uri uri,
String selection,
String[] selectionArgs)
A request to delete one or more rows. |
|
abstract int |
ContentProvider.delete(Uri uri,
String selection,
String[] selectionArgs)
A request to delete one or more rows. |
|
int |
ContentProvider.Transport.delete(Uri uri,
String selection,
String[] selectionArgs)
|
|
int |
ContentProvider.Transport.delete(Uri uri,
String selection,
String[] selectionArgs)
|
|
int |
SearchRecentSuggestionsProvider.delete(Uri uri,
String selection,
String[] selectionArgs)
This method is provided for use by the ContentResolver. |
|
int |
SearchRecentSuggestionsProvider.delete(Uri uri,
String selection,
String[] selectionArgs)
This method is provided for use by the ContentResolver. |
|
int |
AbstractSyncableContentProvider.delete(Uri url,
String selection,
String[] selectionArgs)
|
|
int |
AbstractSyncableContentProvider.delete(Uri url,
String selection,
String[] selectionArgs)
|
|
int |
ContentResolver.delete(Uri url,
String where,
String[] selectionArgs)
Deletes row(s) specified by a content URI. |
|
int |
ContentResolver.delete(Uri url,
String where,
String[] selectionArgs)
Deletes row(s) specified by a content URI. |
|
int |
IContentProvider.delete(Uri url,
String selection,
String[] selectionArgs)
|
|
int |
IContentProvider.delete(Uri url,
String selection,
String[] selectionArgs)
|
|
int |
ContentProviderProxy.delete(Uri url,
String selection,
String[] selectionArgs)
|
|
int |
ContentProviderProxy.delete(Uri url,
String selection,
String[] selectionArgs)
|
|
int |
SyncProvider.delete(Uri url,
String where,
String[] whereArgs)
|
|
int |
SyncProvider.delete(Uri url,
String where,
String[] whereArgs)
|
|
abstract boolean |
Context.deleteDatabase(String name)
Delete an existing private SQLiteDatabase associated with this Context's application package. |
|
boolean |
ContextWrapper.deleteDatabase(String name)
|
|
abstract boolean |
Context.deleteFile(String name)
Delete the given private file associated with this Context's application package. |
|
boolean |
ContextWrapper.deleteFile(String name)
|
|
protected abstract int |
SyncableContentProvider.deleteInternal(Uri url,
String selection,
String[] selectionArgs)
Subclasses should override this instead of delete(). |
|
protected abstract int |
SyncableContentProvider.deleteInternal(Uri url,
String selection,
String[] selectionArgs)
Subclasses should override this instead of delete(). |
|
protected abstract int |
AbstractSyncableContentProvider.deleteInternal(Uri url,
String selection,
String[] selectionArgs)
Subclasses should override this instead of delete(). |
|
protected abstract int |
AbstractSyncableContentProvider.deleteInternal(Uri url,
String selection,
String[] selectionArgs)
Subclasses should override this instead of delete(). |
|
protected abstract void |
SyncableContentProvider.deleteRowsForRemovedAccounts(Map<String,Boolean> accounts,
String table,
String accountColumnName)
A helper method to delete all rows whose account is not in the accounts map. |
|
protected void |
AbstractSyncableContentProvider.deleteRowsForRemovedAccounts(Map<String,Boolean> accounts,
String table,
String accountColumnName)
A helper method to delete all rows whose account is not in the accounts map. |
|
void |
SyncStateContentProviderHelper.discardSyncData(SQLiteDatabase db,
String account)
|
|
protected void |
SyncStorageEngine.doDatabaseCleanup(String[] accounts)
|
|
protected void |
ContentService.dump(FileDescriptor fd,
PrintWriter pw,
String[] args)
|
|
void |
IntentFilter.dump(Printer du,
String prefix)
|
|
void |
DefaultDataHandler.endElement(String uri,
String localName,
String name)
|
|
void |
DefaultDataHandler.endPrefixMapping(String prefix)
|
|
abstract void |
Context.enforceCallingOrSelfPermission(String permission,
String message)
If neither you nor the calling process of an IPC you are handling has been granted a particular permission, throw a SecurityException. |
|
void |
ContextWrapper.enforceCallingOrSelfPermission(String permission,
String message)
|
|
abstract void |
Context.enforceCallingOrSelfUriPermission(Uri uri,
int modeFlags,
String message)
If the calling process of an IPC or you has not been granted permission to access a specific URI, throw SecurityException. |
|
void |
ContextWrapper.enforceCallingOrSelfUriPermission(Uri uri,
int modeFlags,
String message)
|
|
abstract void |
Context.enforceCallingPermission(String permission,
String message)
If the calling process of an IPC you are handling has not been granted a particular permission, throw a SecurityException. |
|
void |
ContextWrapper.enforceCallingPermission(String permission,
String message)
|
|
abstract void |
Context.enforceCallingUriPermission(Uri uri,
int modeFlags,
String message)
If the calling process and user ID has not been granted permission to access a specific URI, throw SecurityException. |
|
void |
ContextWrapper.enforceCallingUriPermission(Uri uri,
int modeFlags,
String message)
|
|
abstract void |
Context.enforcePermission(String permission,
int pid,
int uid,
String message)
If the given permission is not allowed for a particular process and user ID running in the system, throw a SecurityException. |
|
void |
ContextWrapper.enforcePermission(String permission,
int pid,
int uid,
String message)
|
|
abstract void |
Context.enforceUriPermission(Uri uri,
int pid,
int uid,
int modeFlags,
String message)
If a particular process and user ID has not been granted permission to access a specific URI, throw SecurityException. |
|
void |
ContextWrapper.enforceUriPermission(Uri uri,
int pid,
int uid,
int modeFlags,
String message)
|
|
abstract void |
Context.enforceUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags,
String message)
Enforce both a Uri and normal permission. |
|
void |
ContextWrapper.enforceUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags,
String message)
|
|
Object |
ContentValues.get(String key)
Gets a value. |
|
Boolean |
ContentValues.getAsBoolean(String key)
Gets a value and converts it to a Boolean. |
|
Byte |
ContentValues.getAsByte(String key)
Gets a value and converts it to a Byte. |
|
byte[] |
ContentValues.getAsByteArray(String key)
Gets a value that is a byte array. |
|
Double |
ContentValues.getAsDouble(String key)
Gets a value and converts it to a Double. |
|
Float |
ContentValues.getAsFloat(String key)
Gets a value and converts it to a Float. |
|
Integer |
ContentValues.getAsInteger(String key)
Gets a value and converts it to an Integer. |
|
Long |
ContentValues.getAsLong(String key)
Gets a value and converts it to a Long. |
|
Short |
ContentValues.getAsShort(String key)
Gets a value and converts it to a Short. |
|
String |
ContentValues.getAsString(String key)
Gets a value and converts it to a String. |
|
boolean |
SharedPreferences.getBoolean(String key,
boolean defValue)
Retrieve a boolean value from the preferences. |
|
boolean[] |
Intent.getBooleanArrayExtra(String name)
Retrieve extended data from the intent. |
|
boolean |
Intent.getBooleanExtra(String name,
boolean defaultValue)
Retrieve extended data from the intent. |
|
Bundle |
Intent.getBundleExtra(String name)
Retrieve extended data from the intent. |
|
byte[] |
Intent.getByteArrayExtra(String name)
Retrieve extended data from the intent. |
|
byte |
Intent.getByteExtra(String name,
byte defaultValue)
Retrieve extended data from the intent. |
|
char[] |
Intent.getCharArrayExtra(String name)
Retrieve extended data from the intent. |
|
char |
Intent.getCharExtra(String name,
char defaultValue)
Retrieve extended data from the intent. |
|
CharSequence |
Intent.getCharSequenceExtra(String name)
Retrieve extended data from the intent. |
|
abstract File |
Context.getDatabasePath(String name)
Returns the absolute path on the filesystem where a database created with Context.openOrCreateDatabase(java.lang.String, int, android.database.sqlite.SQLiteDatabase.CursorFactory) is stored. |
|
File |
ContextWrapper.getDatabasePath(String name)
|
|
abstract File |
Context.getDir(String name,
int mode)
Retrieve, creating if needed, a new directory in which the application can place its own custom data files. |
|
File |
ContextWrapper.getDir(String name,
int mode)
|
|
double[] |
Intent.getDoubleArrayExtra(String name)
Retrieve extended data from the intent. |
|
double |
Intent.getDoubleExtra(String name,
double defaultValue)
Retrieve extended data from the intent. |
|
Object |
Intent.getExtra(String name)
Deprecated. |
|
Object |
Intent.getExtra(String name,
Object defaultValue)
Deprecated. |
|
abstract File |
Context.getFileStreamPath(String name)
Returns the absolute path on the filesystem where a file created with Context.openFileOutput(java.lang.String, int) is stored. |
|
File |
ContextWrapper.getFileStreamPath(String name)
|
|
float |
SharedPreferences.getFloat(String key,
float defValue)
Retrieve a float value from the preferences. |
|
float[] |
Intent.getFloatArrayExtra(String name)
Retrieve extended data from the intent. |
|
float |
Intent.getFloatExtra(String name,
float defaultValue)
Retrieve extended data from the intent. |
|
IBinder |
Intent.getIBinderExtra(String name)
Deprecated. |
|
int |
SharedPreferences.getInt(String key,
int defValue)
Retrieve an int value from the preferences. |
|
int[] |
Intent.getIntArrayExtra(String name)
Retrieve extended data from the intent. |
|
ArrayList<Integer> |
Intent.getIntegerArrayListExtra(String name)
Retrieve extended data from the intent. |
|
static Intent |
Intent.getIntent(String uri)
Create an intent from a URI. |
|
static Intent |
Intent.getIntentOld(String uri)
|
|
int |
Intent.getIntExtra(String name,
int defaultValue)
Retrieve extended data from the intent. |
|
long |
SharedPreferences.getLong(String key,
long defValue)
Retrieve a long value from the preferences. |
|
long[] |
Intent.getLongArrayExtra(String name)
Retrieve extended data from the intent. |
|
long |
Intent.getLongExtra(String name,
long defaultValue)
Retrieve extended data from the intent. |
|
Parcelable[] |
Intent.getParcelableArrayExtra(String name)
Retrieve extended data from the intent. |
|
|
Intent.getParcelableArrayListExtra(String name)
Retrieve extended data from the intent. |
|
|
Intent.getParcelableExtra(String name)
Retrieve extended data from the intent. |
|
Cursor |
SyncStorageEngine.getPendingSyncsCursor(String[] projection)
Returns a cursor over all the pending syncs in no particular order. |
|
Serializable |
Intent.getSerializableExtra(String name)
Retrieve extended data from the intent. |
|
abstract SharedPreferences |
Context.getSharedPreferences(String name,
int mode)
Retrieve and hold the contents of the preferences file 'name', returning a SharedPreferences through which you can retrieve and modify its values. |
|
SharedPreferences |
ContextWrapper.getSharedPreferences(String name,
int mode)
|
|
short[] |
Intent.getShortArrayExtra(String name)
Retrieve extended data from the intent. |
|
short |
Intent.getShortExtra(String name,
short defaultValue)
Retrieve extended data from the intent. |
|
String |
SharedPreferences.getString(String key,
String defValue)
Retrieve a String value from the preferences. |
|
String[] |
Intent.getStringArrayExtra(String name)
Retrieve extended data from the intent. |
|
ArrayList<String> |
ContentValues.getStringArrayList(String key)
Deprecated. |
|
ArrayList<String> |
Intent.getStringArrayListExtra(String name)
Retrieve extended data from the intent. |
|
String |
Intent.getStringExtra(String name)
Retrieve extended data from the intent. |
|
abstract Object |
Context.getSystemService(String name)
Return the handle to a system-level service by name. |
|
Object |
ContextWrapper.getSystemService(String name)
|
|
ContentValues |
ContentQueryMap.getValues(String rowName)
Access the ContentValues for the row specified by rowName |
|
abstract void |
Context.grantUriPermission(String toPackage,
Uri uri,
int modeFlags)
Grant permission to access a specific Uri to another package, regardless of whether that package has general permission to access the Uri's content provider. |
|
void |
ContextWrapper.grantUriPermission(String toPackage,
Uri uri,
int modeFlags)
|
|
boolean |
IntentFilter.hasAction(String action)
Is the given action included in the filter? Note that if the filter does not include any actions, false will always be returned. |
|
boolean |
IntentFilter.hasCategory(String category)
Is the given category included in the filter? |
|
boolean |
Intent.hasCategory(String category)
Check if an category exists in the intent. |
|
boolean |
IntentFilter.hasDataPath(String data)
Is the given data path included in the filter? Note that if the filter does not include any paths, false will always be returned. |
|
boolean |
IntentFilter.hasDataScheme(String scheme)
Is the given data scheme included in the filter? Note that if the filter does not include any scheme, false will always be returned. |
|
boolean |
IntentFilter.hasDataType(String type)
Is the given data type included in the filter? Note that if the filter does not include any type, false will always be returned. |
|
boolean |
Intent.hasExtra(String name)
Returns true if an extra value is associated with the given name. |
|
void |
DefaultDataHandler.insert(ContentResolver contentResolver,
String in)
|
|
void |
ContentInsertHandler.insert(ContentResolver contentResolver,
String in)
insert data from String to ContentResolver |
|
long |
SyncStorageEngine.insertStartSyncEvent(String account,
String authority,
long now,
int source)
|
|
int |
IntentFilter.match(ContentResolver resolver,
Intent intent,
boolean resolve,
String logTag)
Test whether this filter matches the given intent. |
|
int |
IntentFilter.match(String action,
String type,
String scheme,
Uri data,
Set<String> categories,
String logTag)
Test whether this filter matches the given intent data. |
|
boolean |
IntentFilter.matchAction(String action)
Match this filter against an Intent's action. |
|
int |
IntentFilter.matchData(String type,
String scheme,
Uri data)
Match this filter against an Intent's data (type, scheme and path). |
|
void |
AbstractTableMerger.merge(SyncContext context,
String account,
SyncableContentProvider serverDiffs,
TempProviderSyncResult result,
SyncResult syncResult,
SyncableContentProvider temporaryInstanceFactory)
Carry out a merge of the given diffs, and add the results to the given MergeResult. |
|
void |
AbstractTableMerger.mergeServerDiffs(SyncContext context,
String account,
SyncableContentProvider serverDiffs,
SyncResult syncResult)
|
|
protected abstract void |
SyncableContentProvider.onAccountsChanged(String[] accountsArray)
Make sure that there are no entries for accounts that no longer exist |
|
void |
SyncStateContentProviderHelper.onAccountsChanged(String[] accounts)
|
|
abstract void |
TempProviderSyncAdapter.onAccountsChanged(String[] accounts)
Called when the accounts list possibly changed, to give the SyncAdapter a chance to do any necessary bookkeeping, e.g. |
|
protected void |
AbstractSyncableContentProvider.onAccountsChanged(String[] accountsArray)
Make sure that there are no entries for accounts that no longer exist |
|
void |
SharedPreferences.OnSharedPreferenceChangeListener.onSharedPreferenceChanged(SharedPreferences sharedPreferences,
String key)
Called when a shared preference is changed, added, or removed. |
|
abstract void |
SyncableContentProvider.onSyncStart(SyncContext context,
String account)
Called right before a sync is started. |
|
void |
AbstractSyncableContentProvider.onSyncStart(SyncContext context,
String account)
Called right before a sync is started. |
|
abstract void |
TempProviderSyncAdapter.onSyncStarting(SyncContext context,
String account,
boolean forced,
SyncResult result)
Called right before a sync is started. |
|
ParcelFileDescriptor |
ContentProvider.openFile(Uri uri,
String mode)
Open a file blob associated with a content URI. |
|
ParcelFileDescriptor |
ContentProvider.Transport.openFile(Uri uri,
String mode)
|
|
ParcelFileDescriptor |
IContentProvider.openFile(Uri url,
String mode)
|
|
ParcelFileDescriptor |
ContentProviderProxy.openFile(Uri url,
String mode)
|
|
ParcelFileDescriptor |
ContentResolver.openFileDescriptor(Uri uri,
String mode)
Open a raw file descriptor to access data under a "content:" URI. |
|
protected ParcelFileDescriptor |
ContentProvider.openFileHelper(Uri uri,
String mode)
Convenience for subclasses that wish to implement ContentProvider.openFile(android.net.Uri, java.lang.String)
by looking up a column named "_data" at the given URI. |
|
abstract FileInputStream |
Context.openFileInput(String name)
Open a private file associated with this Context's application package for reading. |
|
FileInputStream |
ContextWrapper.openFileInput(String name)
|
|
abstract FileOutputStream |
Context.openFileOutput(String name,
int mode)
Open a private file associated with this Context's application package for writing. |
|
FileOutputStream |
ContextWrapper.openFileOutput(String name,
int mode)
|
|
abstract SQLiteDatabase |
Context.openOrCreateDatabase(String name,
int mode,
SQLiteDatabase.CursorFactory factory)
Open a new private SQLiteDatabase associated with this Context's application package. |
|
SQLiteDatabase |
ContextWrapper.openOrCreateDatabase(String name,
int mode,
SQLiteDatabase.CursorFactory factory)
|
|
void |
DefaultDataHandler.processingInstruction(String target,
String data)
|
|
void |
ContentValues.put(String key,
Boolean value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
Byte value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
byte[] value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
Double value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
Float value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
Integer value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
Long value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
Short value)
Adds a value to the set. |
|
void |
ContentValues.put(String key,
String value)
Adds a value to the set. |
|
SharedPreferences.Editor |
SharedPreferences.Editor.putBoolean(String key,
boolean value)
Set a boolean value in the preferences editor, to be written back once SharedPreferences.Editor.commit() is called. |
|
Intent |
Intent.putExtra(String name,
boolean value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
boolean[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
Bundle value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
byte value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
byte[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
char value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
char[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
CharSequence value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
double value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
double[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
float value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
float[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
IBinder value)
Deprecated. |
|
Intent |
Intent.putExtra(String name,
int value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
int[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
long value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
long[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
Parcelable value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
Parcelable[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
Serializable value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
short value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
short[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
String value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
String[] value)
Add extended data to the intent. |
|
Intent |
Intent.putExtra(String name,
String[] value)
Add extended data to the intent. |
|
SharedPreferences.Editor |
SharedPreferences.Editor.putFloat(String key,
float value)
Set a float value in the preferences editor, to be written back once SharedPreferences.Editor.commit() is called. |
|
SharedPreferences.Editor |
SharedPreferences.Editor.putInt(String key,
int value)
Set an int value in the preferences editor, to be written back once SharedPreferences.Editor.commit() is called. |
|
Intent |
Intent.putIntegerArrayListExtra(String name,
ArrayList<Integer> value)
Add extended data to the intent. |
|
SharedPreferences.Editor |
SharedPreferences.Editor.putLong(String key,
long value)
Set a long value in the preferences editor, to be written back once SharedPreferences.Editor.commit() is called. |
|
void |
ContentValues.putNull(String key)
Adds a null value to the set. |
|
Intent |
Intent.putParcelableArrayListExtra(String name,
ArrayList<? extends Parcelable> value)
Add extended data to the intent. |
|
SharedPreferences.Editor |
SharedPreferences.Editor.putString(String key,
String value)
Set a String value in the preferences editor, to be written back once SharedPreferences.Editor.commit() is called. |
|
void |
ContentValues.putStringArrayList(String key,
ArrayList<String> value)
Deprecated. |
|
Intent |
Intent.putStringArrayListExtra(String name,
ArrayList<String> value)
Add extended data to the intent. |
|
Cursor |
SyncStateContentProviderHelper.Provider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
SyncStateContentProviderHelper.Provider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
SyncStateContentProviderHelper.Provider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
abstract Cursor |
ContentProvider.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Receives a query request from a client in a local process, and returns a Cursor. |
|
abstract Cursor |
ContentProvider.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Receives a query request from a client in a local process, and returns a Cursor. |
|
abstract Cursor |
ContentProvider.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Receives a query request from a client in a local process, and returns a Cursor. |
|
Cursor |
ContentProvider.Transport.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
ContentProvider.Transport.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
ContentProvider.Transport.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
SearchRecentSuggestionsProvider.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
This method is provided for use by the ContentResolver. |
|
Cursor |
SearchRecentSuggestionsProvider.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
This method is provided for use by the ContentResolver. |
|
Cursor |
SearchRecentSuggestionsProvider.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
This method is provided for use by the ContentResolver. |
|
Cursor |
AbstractSyncableContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
AbstractSyncableContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
AbstractSyncableContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
ContentResolver.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Query the given URI, returning a Cursor over the result set. |
|
Cursor |
ContentResolver.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Query the given URI, returning a Cursor over the result set. |
|
Cursor |
ContentResolver.query(Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Query the given URI, returning a Cursor over the result set. |
|
Cursor |
IContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
IContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
IContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
ContentProviderProxy.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
ContentProviderProxy.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
ContentProviderProxy.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
|
Cursor |
SyncStorageEngine.query(Uri url,
String[] projectionIn,
String selection,
String[] selectionArgs,
String sort)
Implements the ContentProvider.query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String) method |
|
Cursor |
SyncStorageEngine.query(Uri url,
String[] projectionIn,
String selection,
String[] selectionArgs,
String sort)
Implements the ContentProvider.query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String) method |
|
Cursor |
SyncStorageEngine.query(Uri url,
String[] projectionIn,
String selection,
String[] selectionArgs,
String sort)
Implements the ContentProvider.query(android.net.Uri, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String) method |
|
Cursor |
SyncProvider.query(Uri url,
String[] projectionIn,
String selection,
String[] selectionArgs,
String sort)
|
|
Cursor |
SyncProvider.query(Uri url,
String[] projectionIn,
String selection,
String[] selectionArgs,
String sort)
|
|
Cursor |
SyncProvider.query(Uri url,
String[] projectionIn,
String selection,
String[] selectionArgs,
String sort)
|
|
protected abstract Cursor |
SyncableContentProvider.queryInternal(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Subclasses should override this instead of query(). |
|
protected abstract Cursor |
SyncableContentProvider.queryInternal(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Subclasses should override this instead of query(). |
|
protected abstract Cursor |
SyncableContentProvider.queryInternal(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Subclasses should override this instead of query(). |
|
protected abstract Cursor |
AbstractSyncableContentProvider.queryInternal(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Subclasses should override this instead of query(). |
|
protected abstract Cursor |
AbstractSyncableContentProvider.queryInternal(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Subclasses should override this instead of query(). |
|
protected abstract Cursor |
AbstractSyncableContentProvider.queryInternal(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
Subclasses should override this instead of query(). |
|
byte[] |
SyncStateContentProviderHelper.readSyncDataBytes(SQLiteDatabase db,
String account)
Retrieves the SyncData bytes for the given account. |
|
abstract byte[] |
SyncableContentProvider.readSyncDataBytes(String account)
Retrieves the SyncData bytes for the given account. |
|
byte[] |
AbstractSyncableContentProvider.readSyncDataBytes(String account)
Retrieves the SyncData bytes for the given account. |
|
abstract Intent |
Context.registerReceiver(BroadcastReceiver receiver,
IntentFilter filter,
String broadcastPermission,
Handler scheduler)
Register to receive intent broadcasts, to run in the context of scheduler. |
|
Intent |
ContextWrapper.registerReceiver(BroadcastReceiver receiver,
IntentFilter filter,
String broadcastPermission,
Handler scheduler)
|
|
void |
ContentValues.remove(String key)
Remove a single value. |
|
SharedPreferences.Editor |
SharedPreferences.Editor.remove(String key)
Mark in the editor that a preference value should be removed, which will be done in the actual preferences once SharedPreferences.Editor.commit() is
called. |
|
void |
SyncManager.SyncQueue.removeByKey(String operationKey)
|
|
void |
Intent.removeCategory(String category)
Remove an category from an intent. |
|
void |
Intent.removeExtra(String name)
Remove extended data from the intent. |
|
abstract void |
AbstractTableMerger.resolveRow(long localPersonID,
String syncID,
ContentProvider diffs,
Cursor diffsCursor)
|
|
abstract void |
Context.sendBroadcast(Intent intent,
String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, allowing an optional required permission to be enforced. |
|
void |
ContextWrapper.sendBroadcast(Intent intent,
String receiverPermission)
|
|
abstract void |
Context.sendOrderedBroadcast(Intent intent,
String receiverPermission)
Broadcast the given intent to all interested BroadcastReceivers, delivering them one at a time to allow more preferred receivers to consume the broadcast before it is delivered to less preferred receivers. |
|
void |
ContextWrapper.sendOrderedBroadcast(Intent intent,
String receiverPermission)
|
|
abstract void |
Context.sendOrderedBroadcast(Intent intent,
String receiverPermission,
BroadcastReceiver resultReceiver,
Handler scheduler,
int initialCode,
String initialData,
Bundle initialExtras)
Version of Context.sendBroadcast(Intent) that allows you to
receive data back from the broadcast. |
|
void |
ContextWrapper.sendOrderedBroadcast(Intent intent,
String receiverPermission,
BroadcastReceiver resultReceiver,
Handler scheduler,
int initialCode,
String initialData,
Bundle initialExtras)
|
|
Intent |
Intent.setAction(String action)
Set the general action to be performed. |
|
Intent |
Intent.setClassName(Context packageContext,
String className)
Convenience for calling Intent.setComponent(android.content.ComponentName) with an
explicit class name. |
|
Intent |
Intent.setClassName(String packageName,
String className)
Convenience for calling Intent.setComponent(android.content.ComponentName) with an
explicit application package name and class name. |
|
Intent |
Intent.setDataAndType(Uri data,
String type)
(Usually optional) Set the data for the intent along with an explicit MIME data type. |
|
protected void |
ContentProvider.setReadPermission(String permission)
Change the permission required to read data from the content provider. |
|
void |
BroadcastReceiver.setResult(int code,
String data,
Bundle extras)
Change all of the result data returned from this broadcasts; only works with broadcasts sent through Context.sendOrderedBroadcast. |
|
void |
BroadcastReceiver.setResultData(String data)
Change the current result data of this broadcast; only works with broadcasts sent through Context.sendOrderedBroadcast. |
|
void |
SyncContext.setStatusText(String message)
Call to update the status text for this sync. |
|
void |
SyncUIContext.setStatusText(String text)
Deprecated. |
|
Intent |
Intent.setType(String type)
Set an explicit MIME data type. |
|
protected void |
SearchRecentSuggestionsProvider.setupSuggestions(String authority,
int mode)
In order to use this class, you must extend it, and call this setup function from your constructor. |
|
protected void |
ContentProvider.setWritePermission(String permission)
Change the permission required to read and write data in the content provider. |
|
void |
DefaultDataHandler.skippedEntity(String name)
|
|
void |
AsyncQueryHandler.startDelete(int token,
Object cookie,
Uri uri,
String selection,
String[] selectionArgs)
This method begins an asynchronous delete. |
|
void |
AsyncQueryHandler.startDelete(int token,
Object cookie,
Uri uri,
String selection,
String[] selectionArgs)
This method begins an asynchronous delete. |
|
void |
DefaultDataHandler.startElement(String uri,
String localName,
String name,
Attributes atts)
|
|
abstract boolean |
Context.startInstrumentation(ComponentName className,
String profileFile,
Bundle arguments)
Start executing an Instrumentation class. |
|
boolean |
ContextWrapper.startInstrumentation(ComponentName className,
String profileFile,
Bundle arguments)
|
|
void |
DefaultDataHandler.startPrefixMapping(String prefix,
String uri)
|
|
void |
AsyncQueryHandler.startQuery(int token,
Object cookie,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
This method begins an asynchronous query. |
|
void |
AsyncQueryHandler.startQuery(int token,
Object cookie,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
This method begins an asynchronous query. |
|
void |
AsyncQueryHandler.startQuery(int token,
Object cookie,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
This method begins an asynchronous query. |
|
void |
SyncAdapter.Transport.startSync(ISyncContext syncContext,
String account,
Bundle extras)
|
|
void |
ISyncAdapter.startSync(ISyncContext syncContext,
String account,
Bundle extras)
Initiate a sync for this account. |
|
void |
TempProviderSyncAdapter.startSync(SyncContext syncContext,
String account,
Bundle extras)
|
|
abstract void |
SyncAdapter.startSync(SyncContext syncContext,
String account,
Bundle extras)
Initiate a sync for this account. |
|
void |
AsyncQueryHandler.startUpdate(int token,
Object cookie,
Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
This method begins an asynchronous update. |
|
void |
AsyncQueryHandler.startUpdate(int token,
Object cookie,
Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
This method begins an asynchronous update. |
|
void |
SyncStorageEngine.stopSyncEvent(long historyId,
long elapsedTime,
String resultMessage,
long downstreamActivity,
long upstreamActivity)
|
|
void |
SyncManager.SyncHandler.stopSyncEvent(long rowId,
SyncManager.SyncOperation syncOperation,
String resultMessage,
int upstreamActivity,
int downstreamActivity,
long elapsedTime)
|
|
static ComponentName |
ComponentName.unflattenFromString(String str)
Recover a ComponentName from a String that was previously created with ComponentName.flattenToString(). |
|
int |
SyncStorageEngine.update(boolean callerIsTheProvider,
Uri url,
ContentValues initialValues,
String where,
String[] whereArgs)
Implements the ContentProvider.update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]) method |
|
int |
SyncStorageEngine.update(boolean callerIsTheProvider,
Uri url,
ContentValues initialValues,
String where,
String[] whereArgs)
Implements the ContentProvider.update(android.net.Uri, android.content.ContentValues, java.lang.String, java.lang.String[]) method |
|
int |
SyncStateContentProviderHelper.Provider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
SyncStateContentProviderHelper.Provider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
abstract int |
ContentProvider.update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
Update a content URI. |
|
abstract int |
ContentProvider.update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
Update a content URI. |
|
int |
ContentProvider.Transport.update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
ContentProvider.Transport.update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
SearchRecentSuggestionsProvider.update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
This method is provided for use by the ContentResolver. |
|
int |
SearchRecentSuggestionsProvider.update(Uri uri,
ContentValues values,
String selection,
String[] selectionArgs)
This method is provided for use by the ContentResolver. |
|
int |
AbstractSyncableContentProvider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
AbstractSyncableContentProvider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
ContentResolver.update(Uri uri,
ContentValues values,
String where,
String[] selectionArgs)
Update row(s) in a content URI. |
|
int |
ContentResolver.update(Uri uri,
ContentValues values,
String where,
String[] selectionArgs)
Update row(s) in a content URI. |
|
int |
IContentProvider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
IContentProvider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
ContentProviderProxy.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
ContentProviderProxy.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
|
int |
SyncProvider.update(Uri url,
ContentValues initialValues,
String where,
String[] whereArgs)
|
|
int |
SyncProvider.update(Uri url,
ContentValues initialValues,
String where,
String[] whereArgs)
|
|
protected abstract int |
SyncableContentProvider.updateInternal(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
Subclasses should override this instead of update(). |
|
protected abstract int |
SyncableContentProvider.updateInternal(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
Subclasses should override this instead of update(). |
|
protected abstract int |
AbstractSyncableContentProvider.updateInternal(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
Subclasses should override this instead of update(). |
|
protected abstract int |
AbstractSyncableContentProvider.updateInternal(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
Subclasses should override this instead of update(). |
|
abstract void |
SyncableContentProvider.wipeAccount(String account)
Called when the sync system determines that this provider should no longer contain records for the specified account. |
|
void |
AbstractSyncableContentProvider.wipeAccount(String account)
Called when the sync system determines that this provider should no longer contain records for the specified account. |
|
void |
SyncStateContentProviderHelper.writeSyncDataBytes(SQLiteDatabase db,
String account,
byte[] data)
Sets the SyncData bytes for the given account. |
|
abstract void |
SyncableContentProvider.writeSyncDataBytes(String account,
byte[] data)
Sets the SyncData bytes for the given account. |
|
void |
AbstractSyncableContentProvider.writeSyncDataBytes(String account,
byte[] data)
Sets the SyncData bytes for the given account. |
|
| Method parameters in android.content with type arguments of type String | |
|---|---|
protected abstract void |
SyncableContentProvider.deleteRowsForRemovedAccounts(Map<String,Boolean> accounts,
String table,
String accountColumnName)
A helper method to delete all rows whose account is not in the accounts map. |
protected void |
AbstractSyncableContentProvider.deleteRowsForRemovedAccounts(Map<String,Boolean> accounts,
String table,
String accountColumnName)
A helper method to delete all rows whose account is not in the accounts map. |
int |
IntentFilter.match(String action,
String type,
String scheme,
Uri data,
Set<String> categories,
String logTag)
Test whether this filter matches the given intent data. |
String |
IntentFilter.matchCategories(Set<String> categories)
Match this filter against an Intent's categories. |
void |
ContentValues.putStringArrayList(String key,
ArrayList<String> value)
Deprecated. |
Intent |
Intent.putStringArrayListExtra(String name,
ArrayList<String> value)
Add extended data to the intent. |
| Constructors in android.content with parameters of type String | |
|---|---|
AbstractSyncableContentProvider(String dbName,
int dbVersion,
Uri contentUri)
Initializes the AbstractSyncableContentProvider |
|
AbstractTableMerger(SQLiteDatabase database,
String table,
Uri tableURL,
String deletedTable,
Uri deletedTableURL)
|
|
ActivityNotFoundException(String name)
|
|
ComponentName(Context pkg,
String cls)
Create a new component identifier from a Context and class name. |
|
ComponentName(String pkg,
String cls)
Create a new component identifier. |
|
ContentQueryMap(Cursor cursor,
String columnNameOfKey,
boolean keepUpdated,
Handler handlerForUpdateNotifications)
Creates a ContentQueryMap that caches the content backing the cursor |
|
ContentService.ObserverNode(String name)
|
|
Intent(String action)
Create an intent with a given action. |
|
Intent(String action,
Uri uri)
Create an intent with a given action and for a given data url. |
|
Intent(String action,
Uri uri,
Context packageContext,
Class<?> cls)
Create an intent for a specific component with a specified action and data. |
|
IntentFilter.AuthorityEntry(String host,
String port)
|
|
IntentFilter.MalformedMimeTypeException(String name)
|
|
IntentFilter(String action)
New IntentFilter that matches a single action with no data. |
|
IntentFilter(String action,
String dataType)
New IntentFilter that matches a single action and data type. |
|
ReceiverCallNotAllowedException(String msg)
|
|
SyncManager.SyncOperation(String account,
int source,
String authority,
Bundle extras,
long delay)
|
|
| Uses of String in android.content.pm |
|---|
| Fields in android.content.pm declared as String | |
|---|---|
String |
ProviderInfo.authority
The name provider is published under content:// |
String |
ApplicationInfo.className
Class implementing the Application object. |
String |
ApplicationInfo.dataDir
Full path to a directory assigned to the package for its persistent data. |
String |
InstrumentationInfo.dataDir
Full path to a directory assigned to the package for its persistent data. |
String |
PermissionInfo.group
The group this permission is a part of, as per R.attr.permissionGroup. |
String |
ApplicationInfo.manageSpaceActivityName
Class implementing the Application's manage space functionality. |
String |
PackageParser.Package.mPath
|
String |
PackageParser.Package.mSharedUserId
|
String |
PackageParser.Package.mVersionName
|
String |
PackageItemInfo.name
Public name of this item. |
String |
PackageStats.packageName
|
String |
PackageInfo.packageName
The name of this package. |
String |
PackageItemInfo.packageName
Name of the package that this item is in. |
String |
PackageParser.Package.packageName
|
String |
ServiceInfo.permission
Optional name of a permission required to be able to access this Service. |
String |
ActivityInfo.permission
Optional name of a permission required to be able to access this Activity. |
String |
ApplicationInfo.permission
Optional name of a permission required to be able to access this application's components. |
String |
ComponentInfo.processName
The name of the process this component should run in. |
String |
ApplicationInfo.processName
The name of the process this application should run in. |
String |
ApplicationInfo.publicSourceDir
Full path to the location of the publicly available parts of this package (i.e. |
String |
InstrumentationInfo.publicSourceDir
Full path to the location of the publicly available parts of this package (i.e. |
String |
ProviderInfo.readPermission
Optional permission required for read-only access this content provider. |
String[] |
PackageInfo.requestedPermissions
Array of all <uses-permission> tags included under <manifest>,
or null if there were none. |
String[] |
ApplicationInfo.sharedLibraryFiles
Paths to all shared libraries this application is linked against. |
String |
ApplicationInfo.sourceDir
Full path to the location of this package. |
String |
InstrumentationInfo.sourceDir
Full path to the location of this package. |
String |
ActivityInfo.targetActivity
If this is an activity alias, this is the real activity class to run for it. |
String |
InstrumentationInfo.targetPackage
The name of the application package being instrumented. |
String |
ActivityInfo.taskAffinity
The affinity this activity has for another task in the system. |
String |
ApplicationInfo.taskAffinity
Default task affinity of all activities in this application. |
String[] |
PackageParser.Package.usesLibraryFiles
|
String |
PackageInfo.versionName
The version name of this package, as specified by the <manifest> tag's versionName
attribute. |
String |
ProviderInfo.writePermission
Optional permission required for read/write access this content provider. |
| Fields in android.content.pm with type parameters of type String | |
|---|---|
ArrayList<String> |
PackageParser.Package.requestedPermissions
|
ArrayList<String> |
PackageParser.Package.usesLibraries
|
| Methods in android.content.pm that return String | |
|---|---|
abstract String |
PackageManager.getNameForUid(int uid)
Retrieve the official name associated with a user id. |
String |
IPackageManager.getNameForUid(int uid)
|
abstract String[] |
PackageManager.getPackagesForUid(int uid)
Retrieve the names of all packages that are associated with a particular user id. |
String[] |
IPackageManager.getPackagesForUid(int uid)
|
static String |
PackageParser.parsePackageName(String packageFilePath,
int flags)
|
String |
Signature.toCharsString()
Return the result of Signature.toChars() as a String. |
String |
PackageStats.toString()
|
String |
ServiceInfo.toString()
|
String |
PackageInfo.toString()
|
String |
PermissionInfo.toString()
|
String |
ResolveInfo.toString()
|
String |
ActivityInfo.toString()
|
String |
PackageParser.Package.toString()
|
String |
PackageParser.Permission.toString()
|
String |
PackageParser.PermissionGroup.toString()
|
String |
PackageParser.Activity.toString()
|
String |
PackageParser.Service.toString()
|
String |
PackageParser.Provider.toString()
|
String |
PackageParser.Instrumentation.toString()
|
String |
PackageParser.ActivityIntentInfo.toString()
|
String |
PackageParser.ServiceIntentInfo.toString()
|
String |
ApplicationInfo.toString()
|
String |
InstrumentationInfo.toString()
|
String |
PermissionGroupInfo.toString()
|
String |
ProviderInfo.toString()
|
String |
ConfigurationInfo.toString()
|
| Methods in android.content.pm with parameters of type String | |
|---|---|
abstract void |
PackageManager.addPackageToPreferred(String packageName)
Add a new package to the list of preferred packages. |
void |
IPackageManager.addPackageToPreferred(String packageName)
|
abstract int |
PackageManager.checkPermission(String permName,
String pkgName)
Check whether a particular package has been granted a particular permission. |
int |
IPackageManager.checkPermission(String permName,
String pkgName)
|
abstract int |
PackageManager.checkSignatures(String pkg1,
String pkg2)
Compare the signatures of two packages to determine if the same signature appears in both of them. |
int |
IPackageManager.checkSignatures(String pkg1,
String pkg2)
|
int |
IPackageManager.checkUidPermission(String permName,
int uid)
|
abstract void |
PackageManager.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
Attempts to clear the user data directory of an application. |
void |
IPackageManager.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
Clear the user data directory of an application. |
abstract void |
PackageManager.clearPackagePreferredActivities(String packageName)
Remove all preferred activity mappings, previously added with PackageManager.addPreferredActivity(android.content.IntentFilter, int, android.content.ComponentName[], android.content.ComponentName), from the
system whose activities are implemented in the given package name. |
void |
IPackageManager.clearPackagePreferredActivities(String packageName)
|
abstract void |
PackageManager.deleteApplicationCacheFiles(String packageName,
IPackageDataObserver observer)
Attempts to delete the cache files associated with an application. |
void |
IPackageManager.deleteApplicationCacheFiles(String packageName,
IPackageDataObserver observer)
Delete all the cache files in an applications cache directory |
abstract void |
PackageManager.deletePackage(String packageName,
IPackageDeleteObserver observer,
int flags)
Attempts to delete a package. |
void |
IPackageManager.deletePackage(String packageName,
IPackageDeleteObserver observer,
int flags)
Delete a package. |
void |
ResolveInfo.dump(Printer pw,
String prefix)
|
void |
ActivityInfo.dump(Printer pw,
String prefix)
|
void |
ApplicationInfo.dump(Printer pw,
String prefix)
|
protected void |
ComponentInfo.dumpBack(Printer pw,
String prefix)
|
protected void |
PackageItemInfo.dumpBack(Printer pw,
String prefix)
|
protected void |
ComponentInfo.dumpFront(Printer pw,
String prefix)
|
protected void |
PackageItemInfo.dumpFront(Printer pw,
String prefix)
|
abstract int |
PackageManager.getApplicationEnabledSetting(String packageName)
Return the the enabled setting for an application. |
int |
IPackageManager.getApplicationEnabledSetting(String packageName)
As per PackageManager.getApplicationEnabledSetting(java.lang.String). |
abstract Drawable |
PackageManager.getApplicationIcon(String packageName)
Retrieve the icon associated with an application. |
abstract ApplicationInfo |
PackageManager.getApplicationInfo(String packageName,
int flags)
Retrieve all of the information we know about a particular package/application. |
ApplicationInfo |
IPackageManager.getApplicationInfo(String packageName,
int flags)
|
abstract Drawable |
PackageManager.getDrawable(String packageName,
int resid,
ApplicationInfo appInfo)
Retrieve an image from a package. |
PackageInfo |
PackageManager.getPackageArchiveInfo(String archiveFilePath,
int flags)
Retrieve overall information about an application package defined in a package archive file |
abstract int[] |
PackageManager.getPackageGids(String packageName)
Return an array of all of the secondary group-ids that have been assigned to a package. |
int[] |
IPackageManager.getPackageGids(String packageName)
|
abstract PackageInfo |
PackageManager.getPackageInfo(String packageName,
int flags)
Retrieve overall information about an application package that is installed on the system. |
PackageInfo |
IPackageManager.getPackageInfo(String packageName,
int flags)
|
abstract void |
PackageManager.getPackageSizeInfo(String packageName,
IPackageStatsObserver observer)
Retrieve the size information for a package. |
void |
IPackageManager.getPackageSizeInfo(String packageName,
IPackageStatsObserver observer)
Get package statistics including the code, data and cache size for an already installed package |
int |
IPackageManager.getPackageUid(String packageName)
|
abstract PermissionGroupInfo |
PackageManager.getPermissionGroupInfo(String name,
int flags)
Retrieve all of the information we know about a particular group of permissions. |
PermissionGroupInfo |
IPackageManager.getPermissionGroupInfo(String name,
int flags)
|
abstract PermissionInfo |
PackageManager.getPermissionInfo(String name,
int flags)
Retrieve all of the information we know about a particular permission. |
PermissionInfo |
IPackageManager.getPermissionInfo(String name,
int flags)
|
abstract int |
PackageManager.getPreferredActivities(List<IntentFilter> outFilters,
List<ComponentName> outActivities,
String packageName)
Retrieve all preferred activities, previously added with PackageManager.addPreferredActivity(android.content.IntentFilter, int, android.content.ComponentName[], android.content.ComponentName), that are
currently registered with the system. |
int |
IPackageManager.getPreferredActivities(List<IntentFilter> outFilters,
List<ComponentName> outActivities,
String packageName)
|
abstract Resources |
PackageManager.getResourcesForApplication(String appPackageName)
Retrieve the resources associated with an application. |
abstract CharSequence |
PackageManager.getText(String packageName,
int resid,
ApplicationInfo appInfo)
Retrieve text from a package. |
abstract int |
PackageManager.getUidForSharedUser(String sharedUserName)
Return the user id associated with a shared user name. |
int |
IPackageManager.getUidForSharedUser(String sharedUserName)
|
abstract XmlResourceParser |
PackageManager.getXml(String packageName,
int resid,
ApplicationInfo appInfo)
Retrieve an XML file from a package. |
XmlResourceParser |
PackageItemInfo.loadXmlMetaData(PackageManager pm,
String name)
Load an XML resource attached to the meta-data of this item. |
void |
IPackageDataObserver.onRemoveCompleted(String packageName,
boolean succeeded)
|
void |
IPackageInstallObserver.packageInstalled(String packageName,
int returnCode)
|
PackageParser.Package |
PackageParser.parsePackage(File sourceFile,
String destFileName,
DisplayMetrics metrics,
int flags)
|
static String |
PackageParser.parsePackageName(String packageFilePath,
int flags)
|
abstract List<ProviderInfo> |
PackageManager.queryContentProviders(String processName,
int uid,
int flags)
Retrieve content provider information. |
List<ProviderInfo> |
IPackageManager.queryContentProviders(String processName,
int uid,
int flags)
|
abstract List<InstrumentationInfo> |
PackageManager.queryInstrumentation(String targetPackage,
int flags)
Retrieve information about available instrumentation code. |
List<InstrumentationInfo> |
IPackageManager.queryInstrumentation(String targetPackage,
int flags)
|
List<ResolveInfo> |
IPackageManager.queryIntentActivities(Intent intent,
String resolvedType,
int flags)
|
List<ResolveInfo> |
IPackageManager.queryIntentActivityOptions(ComponentName caller,
Intent[] specifics,
String[] specificTypes,
Intent intent,
String resolvedType,
int flags)
|
List<ResolveInfo> |
IPackageManager.queryIntentActivityOptions(ComponentName caller,
Intent[] specifics,
String[] specificTypes,
Intent intent,
String resolvedType,
int flags)
|
List<ResolveInfo> |
IPackageManager.queryIntentReceivers(Intent intent,
String resolvedType,
int flags)
|
List<ResolveInfo> |
IPackageManager.queryIntentServices(Intent intent,
String resolvedType,
int flags)
|
abstract List<PermissionInfo> |
PackageManager.queryPermissionsByGroup(String group,
int flags)
Query for all of the permissions associated with a particular group. |
List<PermissionInfo> |
IPackageManager.queryPermissionsByGroup(String group,
int flags)
|
abstract void |
PackageManager.removePackageFromPreferred(String packageName)
Remove a package from the list of preferred packages. |
void |
IPackageManager.removePackageFromPreferred(String packageName)
|
abstract void |
PackageManager.removePermission(String name)
Removes a permission that was previously added with PackageManager.addPermission(PermissionInfo). |
void |
IPackageManager.removePermission(String name)
|
abstract ProviderInfo |
PackageManager.resolveContentProvider(String name,
int flags)
Find a single content provider by its base path name. |
ProviderInfo |
IPackageManager.resolveContentProvider(String name,
int flags)
|
ResolveInfo |
IPackageManager.resolveIntent(Intent intent,
String resolvedType,
int flags)
|
ResolveInfo |
IPackageManager.resolveService(Intent intent,
String resolvedType,
int flags)
|
abstract void |
PackageManager.setApplicationEnabledSetting(String packageName,
int newState,
int flags)
Set the enabled setting for an application This setting will override any enabled state which may have been set by the application in its manifest. |
void |
IPackageManager.setApplicationEnabledSetting(String packageName,
int newState,
int flags)
As per PackageManager.setApplicationEnabledSetting(java.lang.String, int, int). |
void |
PackageParser.setSeparateProcesses(String[] procs)
|
static Signature |
PackageParser.stringToSignature(String str)
Temporary. |
| Method parameters in android.content.pm with type arguments of type String | |
|---|---|
void |
IPackageManager.querySyncProviders(List<String> outNames,
List<ProviderInfo> outInfo)
Retrieve sync information for all content providers. |
| Constructors in android.content.pm with parameters of type String | |
|---|---|
PackageManager.NameNotFoundException(String name)
|
|
PackageParser.Package(String _name)
|
|
PackageParser(String archiveSourcePath)
|
|
PackageStats(String pkgName)
|
|
Signature(String text)
Create Signature from a text representation previously returned by Signature.toChars() or Signature.toCharsString(). |
|
| Uses of String in android.content.res |
|---|
| Fields in android.content.res declared as String | |
|---|---|
(package private) static String |
Resources.TAG
|
| Methods in android.content.res that return String | |
|---|---|
String |
XmlBlock.Parser.getAttributeName(int index)
|
String |
XmlBlock.Parser.getAttributeNamespace(int index)
|
String |
XmlBlock.Parser.getAttributePrefix(int index)
|
String |
XmlBlock.Parser.getAttributeType(int index)
|
String |
XmlBlock.Parser.getAttributeValue(int index)
|
String |
XmlBlock.Parser.getAttributeValue(String namespace,
String name)
|
String |
XmlBlock.Parser.getClassAttribute()
|
String |
AssetManager.getCookieName(int cookie)
|
String |
XmlBlock.Parser.getIdAttribute()
|
String |
XmlBlock.Parser.getInputEncoding()
|
String[] |
AssetManager.getLocales()
Get the locales that this asset manager contains data for. |
String |
XmlBlock.Parser.getName()
|
String |
XmlBlock.Parser.getNamespace()
|
String |
XmlBlock.Parser.getNamespace(String prefix)
|
String |
XmlBlock.Parser.getNamespacePrefix(int pos)
|
String |
XmlBlock.Parser.getNamespaceUri(int pos)
|
String |
TypedArray.getNonResourceString(int index)
Retrieve the string value for the attribute at index, but only if that string comes from an immediate value in an XML file. |
String |
XmlBlock.Parser.getPositionDescription()
|
String |
TypedArray.getPositionDescription()
Returns a message about the parser state suitable for printing error messages. |
String |
XmlBlock.Parser.getPrefix()
|
String |
Resources.getQuantityString(int id,
int quantity)
Return the string value associated with a particular resource ID for a particular numerical quantity. |
String |
Resources.getQuantityString(int id,
int quantity,
Object... formatArgs)
Return the string value associated with a particular resource ID for a particular numerical quantity, substituting the format arguments as defined in Formatter and format(java.lang.String, java.lang.Object...). |
(package private) String |
AssetManager.getResourceEntryName(int resid)
|
String |
Resources.getResourceEntryName(int resid)
Return the entry name for a given resource identifier. |
(package private) String |
AssetManager.getResourceName(int resid)
|
String |
Resources.getResourceName(int resid)
Return the full name for a given resource identifier. |
(package private) String |
AssetManager.getResourcePackageName(int resid)
|
String |
Resources.getResourcePackageName(int resid)
Return the package name for a given resource identifier. |
(package private) String[] |
AssetManager.getResourceStringArray(int id)
Retrieve the string array associated with a particular resource identifier. |
(package private) String |
AssetManager.getResourceTypeName(int resid)
|
String |
Resources.getResourceTypeName(int resid)
Return the type name for a given resource identifier. |
String |
Resources.getString(int id)
Return the string value associated with a particular resource ID. |
String |
TypedArray.getString(int index)
Retrieve the string value for the attribute at index. |
String |
Resources.getString(int id,
Object... formatArgs)
Return the string value associated with a particular resource ID, substituting the format arguments as defined in Formatter
and format(java.lang.String, java.lang.Object...). |
String[] |
Resources.getStringArray(int id)
Return the string array associated with a particular resource ID. |
String |
XmlBlock.Parser.getText()
|
String[] |
AssetManager.list(String path)
Return a String array of all the assets at the given path. |
String |
XmlBlock.Parser.nextText()
|
(package private) static String |
PluralRules.stringForQuantity(int quantity)
|
String |
ColorStateList.toString()
|
String |
TypedArray.toString()
|
String |
Configuration.toString()
|
| Methods in android.content.res with parameters of type String | |
|---|---|
int |
AssetManager.addAssetPath(String path)
Add an additional set of assets to the asset manager. |
void |
XmlBlock.Parser.defineEntityReplacementText(String entityName,
String replacementText)
|
void |
Resources.Theme.dump(int priority,
String tag,
String prefix)
Print contents of this theme out to the log. |
(package private) static void |
AssetManager.dumpTheme(int theme,
int priority,
String tag,
String prefix)
|
boolean |
XmlBlock.Parser.getAttributeBooleanValue(String namespace,
String attribute,
boolean defaultValue)
|
float |
XmlBlock.Parser.getAttributeFloatValue(String namespace,
String attribute,
float defaultValue)
|
int |
XmlBlock.Parser.getAttributeIntValue(String namespace,
String attribute,
int defaultValue)
|
int |
XmlBlock.Parser.getAttributeListValue(int idx,
String[] options,
int defaultValue)
|
int |
XmlBlock.Parser.getAttributeListValue(String namespace,
String attribute,
String[] options,
int defaultValue)
|
int |
XmlBlock.Parser.getAttributeListValue(String namespace,
String attribute,
String[] options,
int defaultValue)
|
int |
XmlBlock.Parser.getAttributeResourceValue(String namespace,
String attribute,
int defaultValue)
|
int |
XmlBlock.Parser.getAttributeUnsignedIntValue(String namespace,
String attribute,
int defaultValue)
|
String |
XmlBlock.Parser.getAttributeValue(String namespace,
String name)
|
boolean |
XmlBlock.Parser.getFeature(String name)
|
int |
Resources.getIdentifier(String name,
String defType,
String defPackage)
Return a resource identifier for the given resource name. |
int |
TypedArray.getLayoutDimension(int index,
String name)
Special version of TypedArray.getDimensionPixelSize(int, int) for retrieving
ViewGroup's layout_width and layout_height
attributes. |
String |
XmlBlock.Parser.getNamespace(String prefix)
|
Object |
XmlBlock.Parser.getProperty(String name)
|
(package private) int |
AssetManager.getResourceIdentifier(String type,
String name,
String defPackage)
Retrieve the resource identifier for the given resource name. |
void |
Resources.getValue(String name,
TypedValue outValue,
boolean resolveRefs)
Return the raw data associated with a particular resource ID. |
String[] |
AssetManager.list(String path)
Return a String array of all the assets at the given path. |
(package private) XmlResourceParser |
Resources.loadXmlResourceParser(int id,
String type)
|
(package private) XmlResourceParser |
Resources.loadXmlResourceParser(String file,
int id,
int assetCookie,
String type)
|
InputStream |
AssetManager.open(String fileName)
Open an asset using ACCESS_STREAMING mode. |
InputStream |
AssetManager.open(String fileName,
int accessMode)
Open an asset using an explicit access mode, returning an InputStream to read its contents. |
AssetFileDescriptor |
AssetManager.openFd(String fileName)
|
InputStream |
AssetManager.openNonAsset(int cookie,
String fileName)
Open a non-asset in a specified package. |
InputStream |
AssetManager.openNonAsset(int cookie,
String fileName,
int accessMode)
Open a non-asset in a specified package. |
InputStream |
AssetManager.openNonAsset(String fileName)
Open a non-asset file as an asset using ACCESS_STREAMING mode. |
InputStream |
AssetManager.openNonAsset(String fileName,
int accessMode)
Open a non-asset file as an asset using a specific access mode. |
AssetFileDescriptor |
AssetManager.openNonAssetFd(int cookie,
String fileName)
|
AssetFileDescriptor |
AssetManager.openNonAssetFd(String fileName)
|
(package private) XmlBlock |
AssetManager.openXmlBlockAsset(int cookie,
String fileName)
Retrieve a non-asset as a compiled XML file. |
(package private) XmlBlock |
AssetManager.openXmlBlockAsset(String fileName)
Retrieve a non-asset as a compiled XML file. |
XmlResourceParser |
AssetManager.openXmlResourceParser(int cookie,
String fileName)
Retrieve a parser for a compiled XML file. |
XmlResourceParser |
AssetManager.openXmlResourceParser(String fileName)
Retrieve a parser for a compiled XML file. |
void |
Resources.parseBundleExtra(String tagName,
AttributeSet attrs,
Bundle outBundle)
Parse a name/value pair out of an XML tag holding that data. |
void |
XmlBlock.Parser.require(int type,
String namespace,
String name)
|
void |
AssetManager.setConfiguration(int mcc,
int mnc,
String locale,
int orientation,
int touchscreen,
int density,
int keyboard,
int keyboardHidden,
int navigation,
int screenWidth,
int screenHeight,
int majorVersion)
Change the configuation used when retrieving resources. |
void |
XmlBlock.Parser.setFeature(String name,
boolean state)
|
void |
XmlBlock.Parser.setInput(InputStream inputStream,
String inputEncoding)
|
void |
AssetManager.setLocale(String locale)
Change the locale being used by this asset manager. |
void |
XmlBlock.Parser.setProperty(String name,
Object value)
|
| Constructors in android.content.res with parameters of type String | |
|---|---|
Resources.NotFoundException(String name)
|
|
| Uses of String in android.database |
|---|
| Fields in android.database declared as String | |
|---|---|
static String |
IBulkCursor.descriptor
|
| Fields in android.database with type parameters of type String | |
|---|---|
protected HashMap<Long,Map<String,Object>> |
AbstractCursor.mUpdatedRows
This HashMap contains a mapping from Long rowIDs to another Map that maps from String column names to new values. |
| Methods in android.database that return String | |
|---|---|
static String |
DatabaseUtils.concatenateWhere(String a,
String b)
Concatenates two SQL WHERE clauses, handling empty or null values. |
static String |
DatabaseUtils.dumpCurrentRowToString(Cursor cursor)
Dump the contents of a Cursor's current row to a String. |
static String |
DatabaseUtils.dumpCursorToString(Cursor cursor)
Prints the contents of a Cursor to a String. |
static String |
DatabaseUtils.getCollationKey(String name)
return the collation key |
String |
AbstractCursor.getColumnName(int columnIndex)
|
String |
Cursor.getColumnName(int columnIndex)
Returns the column name at the given zero-based column index. |
String |
CursorWrapper.getColumnName(int columnIndex)
|
String[] |
CursorToBulkCursorAdaptor.getColumnNames()
|
String[] |
MergeCursor.getColumnNames()
|
String[] |
BulkCursorProxy.getColumnNames()
|
String[] |
IBulkCursor.getColumnNames()
Returns a string array holding the names of all of the columns in the cursor in the order in which they were listed in the result. |
abstract String[] |
AbstractCursor.getColumnNames()
|
String[] |
BulkCursorToCursorAdaptor.getColumnNames()
|
String[] |
Cursor.getColumnNames()
Returns a string array holding the names of all of the columns in the result set in the order in which they were listed in the result. |
String[] |
CursorWrapper.getColumnNames()
|
String[] |
MatrixCursor.getColumnNames()
|
static String |
DatabaseUtils.getHexCollationKey(String name)
return the collation key in hex format |
String |
MergeCursor.getString(int column)
|
String |
AbstractWindowedCursor.getString(int columnIndex)
|
abstract String |
AbstractCursor.getString(int column)
|
String |
Cursor.getString(int columnIndex)
Returns the value of the requested column as a String. |
String |
CursorWrapper.getString(int columnIndex)
|
String |
MatrixCursor.getString(int column)
|
String |
CursorWindow.getString(int row,
int col)
Returns a String for the given field. |
static String |
DatabaseUtils.sqlEscapeString(String value)
SQL-escape a string. |
static String |
DatabaseUtils.stringForQuery(SQLiteDatabase db,
String query,
String[] selectionArgs)
Utility method to run the query on the db and return the value in the first column of the first row. |
static String |
DatabaseUtils.stringForQuery(SQLiteStatement prog,
String[] selectionArgs)
Utility method to run the pre-compiled query and return the value in the first column of the first row. |
| Methods in android.database with parameters of type String | |
|---|---|
static void |
DatabaseUtils.appendEscapedSQLString(StringBuilder sb,
String sqlString)
Appends an SQL string to the given StringBuilder, including the opening and closing single quotes. |
void |
DatabaseUtils.InsertHelper.bind(int index,
String value)
Bind the value to an index. |
static String |
DatabaseUtils.concatenateWhere(String a,
String b)
Concatenates two SQL WHERE clauses, handling empty or null values. |
static void |
DatabaseUtils.createDbFromSqlStatements(Context context,
String dbName,
int dbVersion,
String sqlStatements)
Creates a db and populates it with the sql statements in sqlStatements. |
static void |
DatabaseUtils.cursorDoubleToContentValues(Cursor cursor,
String field,
ContentValues values,
String key)
Reads a Double out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorDoubleToCursorValues(Cursor cursor,
String field,
ContentValues values)
Reads a Double out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorIntToContentValues(Cursor cursor,
String field,
ContentValues values)
Reads an Integer out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorIntToContentValues(Cursor cursor,
String field,
ContentValues values,
String key)
Reads a Integer out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorLongToContentValues(Cursor cursor,
String field,
ContentValues values)
Reads a Long out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorLongToContentValues(Cursor cursor,
String field,
ContentValues values,
String key)
Reads a Long out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorStringToContentValues(Cursor cursor,
String field,
ContentValues values)
Reads a String out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorStringToContentValues(Cursor cursor,
String field,
ContentValues values,
String key)
Reads a String out of a field in a Cursor and writes it to a Map. |
static void |
DatabaseUtils.cursorStringToInsertHelper(Cursor cursor,
String field,
DatabaseUtils.InsertHelper inserter,
int index)
Reads a String out of a field in a Cursor and writes it to an InsertHelper. |
static String |
DatabaseUtils.getCollationKey(String name)
return the collation key |
int |
DatabaseUtils.InsertHelper.getColumnIndex(String key)
Returns the index of the specified column. |
int |
AbstractCursor.getColumnIndex(String columnName)
|
int |
Cursor.getColumnIndex(String columnName)
Returns the zero-based index for the given column name, or -1 if the column doesn't exist. |
int |
CursorWrapper.getColumnIndex(String columnName)
|
int |
AbstractCursor.getColumnIndexOrThrow(String columnName)
|
int |
Cursor.getColumnIndexOrThrow(String columnName)
Returns the zero-based index for the given column name, or throws IllegalArgumentException if the column doesn't exist. |
int |
CursorWrapper.getColumnIndexOrThrow(String columnName)
|
static String |
DatabaseUtils.getHexCollationKey(String name)
return the collation key in hex format |
static long |
DatabaseUtils.longForQuery(SQLiteDatabase db,
String query,
String[] selectionArgs)
Utility method to run the query on the db and return the value in the first column of the first row. |
static long |
DatabaseUtils.longForQuery(SQLiteDatabase db,
String query,
String[] selectionArgs)
Utility method to run the query on the db and return the value in the first column of the first row. |
static long |
DatabaseUtils.longForQuery(SQLiteStatement prog,
String[] selectionArgs)
Utility method to run the pre-compiled query and return the value in the first column of the first row. |
boolean |
CursorWindow.putString(String value,
int row,
int col)
Copy String to cursor window |
static long |
DatabaseUtils.queryNumEntries(SQLiteDatabase db,
String table)
Query the table for the number of rows in the table. |
static String |
DatabaseUtils.sqlEscapeString(String value)
SQL-escape a string. |
static String |
DatabaseUtils.stringForQuery(SQLiteDatabase db,
String query,
String[] selectionArgs)
Utility method to run the query on the db and return the value in the first column of the first row. |
static String |
DatabaseUtils.stringForQuery(SQLiteDatabase db,
String query,
String[] selectionArgs)
Utility method to run the query on the db and return the value in the first column of the first row. |
static String |
DatabaseUtils.stringForQuery(SQLiteStatement prog,
String[] selectionArgs)
Utility method to run the pre-compiled query and return the value in the first column of the first row. |
boolean |
AbstractCursor.updateString(int columnIndex,
String value)
Deprecated. |
boolean |
Cursor.updateString(int columnIndex,
String value)
Deprecated. use the ContentResolver update methods instead of the Cursor
update methods |
boolean |
CursorWrapper.updateString(int columnIndex,
String value)
Deprecated. |
static CursorJoiner.Result |
CursorJoiner.Result.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Method parameters in android.database with type arguments of type String | |
|---|---|
boolean |
AbstractCursor.commitUpdates(Map<? extends Long,? extends Map<String,Object>> values)
Deprecated. |
boolean |
BulkCursorToCursorAdaptor.commitUpdates(Map<? extends Long,? extends Map<String,Object>> additionalValues)
Deprecated. |
boolean |
Cursor.commitUpdates(Map<? extends Long,? extends Map<String,Object>> values)
Deprecated. use the ContentResolver update methods instead of the Cursor
update methods |
boolean |
CursorWrapper.commitUpdates(Map<? extends Long,? extends Map<String,Object>> values)
Deprecated. |
boolean |
CursorToBulkCursorAdaptor.updateRows(Map<? extends Long,? extends Map<String,Object>> values)
|
boolean |
IBulkCursor.updateRows(Map<? extends Long,? extends Map<String,Object>> values)
|
| Constructors in android.database with parameters of type String | |
|---|---|
CursorIndexOutOfBoundsException(String message)
|
|
CursorJoiner(Cursor cursorLeft,
String[] columnNamesLeft,
Cursor cursorRight,
String[] columnNamesRight)
Initializes the CursorJoiner and resets the cursors to the first row. |
|
CursorJoiner(Cursor cursorLeft,
String[] columnNamesLeft,
Cursor cursorRight,
String[] columnNamesRight)
Initializes the CursorJoiner and resets the cursors to the first row. |
|
CursorToBulkCursorAdaptor(Cursor cursor,
IContentObserver observer,
String providerName,
boolean allowWrite,
CursorWindow window)
|
|
DatabaseUtils.InsertHelper(SQLiteDatabase db,
String tableName)
|
|
MatrixCursor(String[] columnNames)
Constructs a new cursor. |
|
MatrixCursor(String[] columnNames,
int initialCapacity)
Constructs a new cursor with the given initial capacity. |
|
SQLException(String error)
|
|
StaleDataException(String description)
|
|
| Uses of String in android.database.sqlite |
|---|
| Fields in android.database.sqlite declared as String | |
|---|---|
(package private) static String |
SQLiteProgram.TAG
|
(package private) static String |
SQLiteCursor.TAG
|
| Methods in android.database.sqlite that return String | |
|---|---|
String |
SQLiteQueryBuilder.buildQuery(String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
static String |
SQLiteQueryBuilder.buildQueryString(boolean distinct,
String tables,
String[] columns,
String where,
String groupBy,
String having,
String orderBy,
String limit)
Build an SQL query string from the given clauses. |
String |
SQLiteQueryBuilder.buildUnionQuery(String[] subQueries,
String sortOrder,
String limit)
Given a set of subqueries, all of which are SELECT statements, construct a query that returns the union of what those subqueries return. |
String |
SQLiteQueryBuilder.buildUnionSubQuery(String typeDiscriminatorColumn,
String[] unionColumns,
Set<String> columnsPresentInTable,
int computedColumnsOffset,
String typeDiscriminatorValue,
String selection,
String[] selectionArgs,
String groupBy,
String having)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
(package private) String |
SQLiteQuery.columnNameLocked(int columnIndex)
Retrieves the column name for the given column index. |
static String |
SQLiteDatabase.findEditTable(String tables)
Finds the name of the first table, which is editable. |
String[] |
SQLiteCursor.getColumnNames()
|
String |
SQLiteDatabase.getPath()
Getter for the path to the database file. |
String |
SQLiteQueryBuilder.getTables()
Returns the list of tables being queried |
String |
SQLiteStatement.simpleQueryForString()
Execute a statement that returns a 1 by 1 table with a text value. |
String |
SQLiteDirectCursorDriver.toString()
|
String |
SQLiteQuery.toString()
|
String |
SQLiteDatabase.ConflictAlgorithm.value()
|
| Methods in android.database.sqlite that return types with arguments of type String | |
|---|---|
Map<String,String> |
SQLiteDatabase.getSyncedTables()
|
Map<String,String> |
SQLiteDatabase.getSyncedTables()
|
| Methods in android.database.sqlite with parameters of type String | |
|---|---|
static void |
SQLiteQueryBuilder.appendColumns(StringBuilder s,
String[] columns)
Add the names that are non-null in columns to s, separating them with commas. |
void |
SQLiteQueryBuilder.appendWhereEscapeString(String inWhere)
Append a chunk to the WHERE clause of the query. |
void |
SQLiteProgram.bindString(int index,
String value)
Bind a String value to this statement. |
void |
SQLiteQuery.bindString(int index,
String value)
|
String |
SQLiteQueryBuilder.buildQuery(String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
String |
SQLiteQueryBuilder.buildQuery(String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
String |
SQLiteQueryBuilder.buildQuery(String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
static String |
SQLiteQueryBuilder.buildQueryString(boolean distinct,
String tables,
String[] columns,
String where,
String groupBy,
String having,
String orderBy,
String limit)
Build an SQL query string from the given clauses. |
static String |
SQLiteQueryBuilder.buildQueryString(boolean distinct,
String tables,
String[] columns,
String where,
String groupBy,
String having,
String orderBy,
String limit)
Build an SQL query string from the given clauses. |
String |
SQLiteQueryBuilder.buildUnionQuery(String[] subQueries,
String sortOrder,
String limit)
Given a set of subqueries, all of which are SELECT statements, construct a query that returns the union of what those subqueries return. |
String |
SQLiteQueryBuilder.buildUnionQuery(String[] subQueries,
String sortOrder,
String limit)
Given a set of subqueries, all of which are SELECT statements, construct a query that returns the union of what those subqueries return. |
String |
SQLiteQueryBuilder.buildUnionSubQuery(String typeDiscriminatorColumn,
String[] unionColumns,
Set<String> columnsPresentInTable,
int computedColumnsOffset,
String typeDiscriminatorValue,
String selection,
String[] selectionArgs,
String groupBy,
String having)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
String |
SQLiteQueryBuilder.buildUnionSubQuery(String typeDiscriminatorColumn,
String[] unionColumns,
Set<String> columnsPresentInTable,
int computedColumnsOffset,
String typeDiscriminatorValue,
String selection,
String[] selectionArgs,
String groupBy,
String having)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
String |
SQLiteQueryBuilder.buildUnionSubQuery(String typeDiscriminatorColumn,
String[] unionColumns,
Set<String> columnsPresentInTable,
int computedColumnsOffset,
String typeDiscriminatorValue,
String selection,
String[] selectionArgs,
String groupBy,
String having)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
protected void |
SQLiteProgram.compile(String sql,
boolean forceCompilation)
Compiles the given SQL into a SQLite byte code program using sqlite3_prepare_v2(). |
SQLiteStatement |
SQLiteDatabase.compileStatement(String sql)
Compiles an SQL statement into a reusable pre-compiled statement object. |
int |
SQLiteDatabase.delete(String table,
String whereClause,
String[] whereArgs)
Convenience method for deleting rows in the database. |
int |
SQLiteDatabase.delete(String table,
String whereClause,
String[] whereArgs)
Convenience method for deleting rows in the database. |
void |
SQLiteDatabase.execSQL(String sql)
Execute a single SQL statement that is not a query. |
void |
SQLiteDatabase.execSQL(String sql,
Object[] bindArgs)
Execute a single SQL statement that is not a query. |
static String |
SQLiteDatabase.findEditTable(String tables)
Finds the name of the first table, which is editable. |
int |
SQLiteCursor.getColumnIndex(String columnName)
|
long |
SQLiteDatabase.insert(String table,
String nullColumnHack,
ContentValues values)
Convenience method for inserting a row into the database. |
long |
SQLiteDatabase.insertOrThrow(String table,
String nullColumnHack,
ContentValues values)
Convenience method for inserting a row into the database. |
long |
SQLiteDatabase.insertWithOnConflict(String table,
String nullColumnHack,
ContentValues initialValues,
SQLiteDatabase.ConflictAlgorithm algorithm)
General method for inserting a row into the database. |
void |
SQLiteDatabase.markTableSyncable(String table,
String deletedTable)
Mark this table as syncable. |
void |
SQLiteDatabase.markTableSyncable(String table,
String foreignKey,
String updateTable)
Mark this table as syncable, with the _sync_dirty residing in another table. |
protected void |
SQLiteProgram.native_bind_string(int index,
String value)
|
protected void |
SQLiteProgram.native_compile(String sql)
Compiles SQL into a SQLite program. |
(package private) void |
SQLiteDatabase.native_execSQL(String sql)
Native call to execute a raw SQL statement. |
(package private) void |
SQLiteDatabase.native_setLocale(String loc,
int flags)
Native call to set the locale. |
Cursor |
SQLiteDatabase.CursorFactory.newCursor(SQLiteDatabase db,
SQLiteCursorDriver masterQuery,
String editTable,
SQLiteQuery query)
See SQLiteCursor.SQLiteCursor(SQLiteDatabase, SQLiteCursorDriver,
String, SQLiteQuery). |
static SQLiteDatabase |
SQLiteDatabase.openDatabase(String path,
SQLiteDatabase.CursorFactory factory,
int flags)
Open the database according to the flags SQLiteDatabase.OPEN_READWRITE
SQLiteDatabase.OPEN_READONLY SQLiteDatabase.CREATE_IF_NECESSARY and/or SQLiteDatabase.NO_LOCALIZED_COLLATORS. |
static SQLiteDatabase |
SQLiteDatabase.openOrCreateDatabase(String path,
SQLiteDatabase.CursorFactory factory)
Equivalent to openDatabase(path, factory, CREATE_IF_NECESSARY). |
Cursor |
SQLiteDatabase.query(boolean distinct,
String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given URL, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(boolean distinct,
String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given URL, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(boolean distinct,
String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given URL, returning a Cursor over the result set. |
Cursor |
SQLiteCursorDriver.query(SQLiteDatabase.CursorFactory factory,
String[] bindArgs)
Executes the query returning a Cursor over the result set. |
Cursor |
SQLiteDirectCursorDriver.query(SQLiteDatabase.CursorFactory factory,
String[] selectionArgs)
|
Cursor |
SQLiteQueryBuilder.query(SQLiteDatabase db,
String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder)
Perform a query by combining all current settings and the information passed into this method. |
Cursor |
SQLiteQueryBuilder.query(SQLiteDatabase db,
String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder)
Perform a query by combining all current settings and the information passed into this method. |
Cursor |
SQLiteQueryBuilder.query(SQLiteDatabase db,
String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder)
Perform a query by combining all current settings and the information passed into this method. |
Cursor |
SQLiteQueryBuilder.query(SQLiteDatabase db,
String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Perform a query by combining all current settings and the information passed into this method. |
Cursor |
SQLiteQueryBuilder.query(SQLiteDatabase db,
String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Perform a query by combining all current settings and the information passed into this method. |
Cursor |
SQLiteQueryBuilder.query(SQLiteDatabase db,
String[] projectionIn,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String sortOrder,
String limit)
Perform a query by combining all current settings and the information passed into this method. |
Cursor |
SQLiteDatabase.query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy)
Query the given table, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy)
Query the given table, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy)
Query the given table, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given table, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given table, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.query(String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given table, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.queryWithFactory(SQLiteDatabase.CursorFactory cursorFactory,
boolean distinct,
String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given URL, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.queryWithFactory(SQLiteDatabase.CursorFactory cursorFactory,
boolean distinct,
String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given URL, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.queryWithFactory(SQLiteDatabase.CursorFactory cursorFactory,
boolean distinct,
String table,
String[] columns,
String selection,
String[] selectionArgs,
String groupBy,
String having,
String orderBy,
String limit)
Query the given URL, returning a Cursor over the result set. |
Cursor |
SQLiteDatabase.rawQuery(String sql,
String[] selectionArgs)
Runs the provided SQL and returns a Cursor over the result set. |
Cursor |
SQLiteDatabase.rawQuery(String sql,
String[] selectionArgs)
Runs the provided SQL and returns a Cursor over the result set. |
Cursor |
SQLiteDatabase.rawQuery(String sql,
String[] selectionArgs,
int initialRead,
int maxRead)
Runs the provided SQL and returns a cursor over the result set. |
Cursor |
SQLiteDatabase.rawQuery(String sql,
String[] selectionArgs,
int initialRead,
int maxRead)
Runs the provided SQL and returns a cursor over the result set. |
Cursor |
SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.CursorFactory cursorFactory,
String sql,
String[] selectionArgs,
String editTable)
Runs the provided SQL and returns a cursor over the result set. |
Cursor |
SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.CursorFactory cursorFactory,
String sql,
String[] selectionArgs,
String editTable)
Runs the provided SQL and returns a cursor over the result set. |
long |
SQLiteDatabase.replace(String table,
String nullColumnHack,
ContentValues initialValues)
Convenience method for replacing a row in the database. |
long |
SQLiteDatabase.replaceOrThrow(String table,
String nullColumnHack,
ContentValues initialValues)
Convenience method for replacing a row in the database. |
(package private) void |
SQLiteDatabase.rowUpdated(String table,
long rowId)
Call for each row that is updated in a cursor. |
void |
SQLiteCursorDriver.setBindArguments(String[] bindArgs)
Set new bind arguments. |
void |
SQLiteDirectCursorDriver.setBindArguments(String[] bindArgs)
|
void |
SQLiteCursor.setSelectionArguments(String[] selectionArgs)
Changes the selection arguments. |
void |
SQLiteQueryBuilder.setTables(String inTables)
Sets the list of tables to query. |
int |
SQLiteDatabase.update(String table,
ContentValues values,
String whereClause,
String[] whereArgs)
Convenience method for updating rows in the database. |
int |
SQLiteDatabase.update(String table,
ContentValues values,
String whereClause,
String[] whereArgs)
Convenience method for updating rows in the database. |
int |
SQLiteDatabase.updateWithOnConflict(String table,
ContentValues values,
String whereClause,
String[] whereArgs,
SQLiteDatabase.ConflictAlgorithm algorithm)
Convenience method for updating rows in the database. |
int |
SQLiteDatabase.updateWithOnConflict(String table,
ContentValues values,
String whereClause,
String[] whereArgs,
SQLiteDatabase.ConflictAlgorithm algorithm)
Convenience method for updating rows in the database. |
static SQLiteDatabase.ConflictAlgorithm |
SQLiteDatabase.ConflictAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Method parameters in android.database.sqlite with type arguments of type String | |
|---|---|
String |
SQLiteQueryBuilder.buildUnionSubQuery(String typeDiscriminatorColumn,
String[] unionColumns,
Set<String> columnsPresentInTable,
int computedColumnsOffset,
String typeDiscriminatorValue,
String selection,
String[] selectionArgs,
String groupBy,
String having)
Construct a SELECT statement suitable for use in a group of SELECT statements that will be joined through UNION operators in buildUnionQuery. |
boolean |
SQLiteCursor.commitUpdates(Map<? extends Long,? extends Map<String,Object>> additionalValues)
Deprecated. |
void |
SQLiteQueryBuilder.setProjectionMap(Map<String,String> columnMap)
Sets the projection map for the query. |
void |
SQLiteQueryBuilder.setProjectionMap(Map<String,String> columnMap)
Sets the projection map for the query. |
| Constructors in android.database.sqlite with parameters of type String | |
|---|---|
SQLiteAbortException(String error)
|
|
SQLiteConstraintException(String error)
|
|
SQLiteCursor(SQLiteDatabase db,
SQLiteCursorDriver driver,
String editTable,
SQLiteQuery query)
Execute a query and provide access to its result set through a Cursor interface. |
|
SQLiteDatabaseCorruptException(String error)
|
|
SQLiteDirectCursorDriver(SQLiteDatabase db,
String sql,
String editTable)
|
|
SQLiteDiskIOException(String error)
|
|
SQLiteDoneException(String error)
|
|
SQLiteException(String error)
|
|
SQLiteFullException(String error)
|
|
SQLiteMisuseException(String error)
|
|
SQLiteOpenHelper(Context context,
String name,
SQLiteDatabase.CursorFactory factory,
int version)
Create a helper object to create, open, and/or manage a database. |
|
SQLiteProgram(SQLiteDatabase db,
String sql)
|
|
SQLiteQuery(SQLiteDatabase db,
String query,
int offsetIndex,
String[] bindArgs)
Create a persistent query object. |
|
SQLiteQuery(SQLiteDatabase db,
String query,
int offsetIndex,
String[] bindArgs)
Create a persistent query object. |
|
SQLiteStatement(SQLiteDatabase db,
String sql)
Don't use SQLiteStatement constructor directly, please use SQLiteDatabase.compileStatement(String) |
|
| Uses of String in android.ddm |
|---|
| Methods in android.ddm that return String | |
|---|---|
static String |
DdmHandleAppName.getAppName()
|
| Methods in android.ddm with parameters of type String | |
|---|---|
static void |
DdmHandleAppName.setAppName(String name)
Set the application name. |
| Uses of String in android.debug |
|---|
| Methods in android.debug with parameters of type String | |
|---|---|
int |
JNITest.test(int intArg,
double doubleArg,
String stringArg)
|
| Uses of String in android.drm.mobile1 |
|---|
| Fields in android.drm.mobile1 declared as String | |
|---|---|
static String |
DrmRawContent.DRM_MIMETYPE_CONTENT_STRING
The "application/vnd.oma.drm.content" mime type. |
static String |
DrmRawContent.DRM_MIMETYPE_MESSAGE_STRING
The "application/vnd.oma.drm.message" mime type. |
static String |
DrmRightsManager.DRM_MIMETYPE_RIGHTS_WBXML_STRING
The "application/vnd.oma.drm.rights+wbxml" mime type. |
static String |
DrmRightsManager.DRM_MIMETYPE_RIGHTS_XML_STRING
The "application/vnd.oma.drm.rights+xml" mime type. |
| Methods in android.drm.mobile1 that return String | |
|---|---|
String |
DrmRawContent.getContentType()
Get the type of the decrypted media content. |
String |
DrmRawContent.getRightsAddress()
Get rights address from raw Seperate Delivery content. |
| Methods in android.drm.mobile1 with parameters of type String | |
|---|---|
DrmRights |
DrmRightsManager.installRights(InputStream rightsData,
int len,
String mimeTypeStr)
Install one DRM rights and return one instance of DrmRights. |
| Constructors in android.drm.mobile1 with parameters of type String | |
|---|---|
DrmException(String message)
|
|
DrmRawContent(InputStream inRawdata,
int len,
String mimeTypeStr)
Construct a DrmRawContent object. |
|
| Uses of String in android.gadget |
|---|
| Fields in android.gadget declared as String | |
|---|---|
static String |
GadgetManager.EXTRA_GADGET_ID
|
static String |
GadgetManager.GADGET_DISABLE_ACTION
Sent when the gadget is removed from the last host. |
static String |
GadgetManager.GADGET_ENABLE_ACTION
Sent when the gadget is added to a host for the first time. |
static String |
GadgetManager.GADGET_PICK_ACTION
Send this when you want to pick a gadget to display. |
static String |
GadgetManager.GADGET_PROVIDER_META_DATA
Field for the manifest meta-data tag. |
static String |
GadgetManager.GADGET_UPDATE_ACTION
Sent when it is time to update your gadget. |
(package private) static String |
GadgetHostView.TAG
|
(package private) static String |
GadgetManager.TAG
|
| Methods in android.gadget that return String | |
|---|---|
String |
GadgetInfo.toString()
|
| Methods in android.gadget with parameters of type String | |
|---|---|
int |
GadgetManager.allocateGadgetId(String hostPackage)
Get a gadgetId for a host in the calling process. |
| Uses of String in android.graphics |
|---|
| Fields in android.graphics declared as String | |
|---|---|
String |
BitmapFactory.Options.outMimeType
If known, this string is set to the mimetype of the decoded image. |
| Methods in android.graphics that return String | |
|---|---|
String |
Rect.toShortString()
Return a string representation of the rectangle in a compact form. |
String |
Matrix.toShortString()
|
String |
Paint.FontMetricsInt.toString()
|
String |
Rect.toString()
|
String |
RectF.toString()
|
String |
Matrix.toString()
|
String |
Point.toString()
|
| Methods in android.graphics with parameters of type String | |
|---|---|
int |
Paint.breakText(String text,
boolean measureForwards,
float maxWidth,
float[] measuredWidth)
Measure the text, stopping early if the measured width exceeds maxWidth. |
static Typeface |
Typeface.create(String familyName,
int style)
Create a typeface object given a family name, and option style information. |
static Typeface |
Typeface.createFromAsset(AssetManager mgr,
String path)
Create a new typeface from the specified font data. |
static Bitmap |
BitmapFactory.decodeFile(String pathName)
Decode a file path into a bitmap. |
static Movie |
Movie.decodeFile(String pathName)
|
static Bitmap |
BitmapFactory.decodeFile(String pathName,
BitmapFactory.Options opts)
Decode a file path into a bitmap. |
void |
Canvas.drawPosText(String text,
float[] pos,
Paint paint)
Draw the text in the array, with each character's origin specified by the pos array. |
void |
Canvas.drawText(String text,
float x,
float y,
Paint paint)
Draw the text, with origin at (x,y), using the specified paint. |
void |
Canvas.drawText(String text,
int start,
int end,
float x,
float y,
Paint paint)
Draw the text, with origin at (x,y), using the specified paint. |
void |
Canvas.drawTextOnPath(String text,
Path path,
float hOffset,
float vOffset,
Paint paint)
Draw the text, with origin at (x,y), using the specified paint, along the specified path. |
void |
Paint.getTextBounds(String text,
int start,
int end,
Rect bounds)
Return in bounds (allocated by the caller) the smallest rectangle that encloses all of the characters, with an implied origin at (0,0). |
void |
Paint.getTextPath(String text,
int start,
int end,
float x,
float y,
Path path)
Return the path (outline) for the specified text. |
int |
Paint.getTextWidths(String text,
float[] widths)
Return the advance widths for the characters in the string. |
int |
Paint.getTextWidths(String text,
int start,
int end,
float[] widths)
Return the advance widths for the characters in the string. |
float |
Paint.measureText(String text)
Return the width of the text. |
float |
Paint.measureText(String text,
int start,
int end)
Return the width of the text. |
static int |
Color.parseColor(String colorString)
Parse the color string, and return the corresponding color-int. |
static PathDashPathEffect.Style |
PathDashPathEffect.Style.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Paint.Style |
Paint.Style.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Paint.Cap |
Paint.Cap.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Paint.Join |
Paint.Join.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Paint.Align |
Paint.Align.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AvoidXfermode.Mode |
AvoidXfermode.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Region.Op |
Region.Op.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PorterDuff.Mode |
PorterDuff.Mode.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Path.FillType |
Path.FillType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Path.Direction |
Path.Direction.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BlurMaskFilter.Blur |
BlurMaskFilter.Blur.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Interpolator.Result |
Interpolator.Result.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Bitmap.Config |
Bitmap.Config.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Bitmap.CompressFormat |
Bitmap.CompressFormat.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Matrix.ScaleToFit |
Matrix.ScaleToFit.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Shader.TileMode |
Shader.TileMode.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Canvas.EdgeType |
Canvas.EdgeType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Canvas.VertexMode |
Canvas.VertexMode.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in android.graphics with parameters of type String | |
|---|---|
NinePatch(Bitmap bitmap,
byte[] chunk,
String srcName)
Create a drawable projection from a bitmap to nine patches. |
|
| Uses of String in android.graphics.drawable |
|---|
| Methods in android.graphics.drawable with parameters of type String | |
|---|---|
static Drawable |
Drawable.createFromPath(String pathName)
Create a drawable from file path name. |
static Drawable |
Drawable.createFromStream(InputStream is,
String srcName)
Create a drawable from an inputstream |
protected boolean |
PaintDrawable.inflateTag(String name,
Resources r,
XmlPullParser parser,
AttributeSet attrs)
|
protected boolean |
ShapeDrawable.inflateTag(String name,
Resources r,
XmlPullParser parser,
AttributeSet attrs)
Subclasses override this to parse custom subelements. |
static GradientDrawable.Orientation |
GradientDrawable.Orientation.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in android.graphics.drawable with parameters of type String | |
|---|---|
BitmapDrawable(String filepath)
|
|
NinePatchDrawable(Bitmap bitmap,
byte[] chunk,
Rect padding,
String srcName)
|
|
| Uses of String in android.hardware |
|---|
| Methods in android.hardware that return String | |
|---|---|
String |
Camera.Parameters.flatten()
Creates a single string with all the parameters set in this Parameters object. |
String |
Camera.Parameters.get(String key)
Returns the value of a String parameter. |
String |
Sensor.getName()
|
String |
Sensor.getVendor()
|
| Methods in android.hardware with parameters of type String | |
|---|---|
String |
Camera.Parameters.get(String key)
Returns the value of a String parameter. |
int |
Camera.Parameters.getInt(String key)
Returns the value of an integer parameter. |
void |
Camera.Parameters.remove(String key)
|
void |
Camera.Parameters.set(String key,
int value)
Sets an integer parameter. |
void |
Camera.Parameters.set(String key,
String value)
Sets a String parameter. |
void |
Camera.Parameters.unflatten(String flattened)
Takes a flattened string of parameters and adds each one to this Parameters object. |
| Uses of String in android.im |
|---|
| Fields in android.im declared as String | |
|---|---|
static String |
ImPluginConsts.PLUGIN_ACTION_NAME
The intent action name for the plugin service. |
| Methods in android.im that return String | |
|---|---|
String |
IImPlugin.getResourcePackageNameForProvider(String providerName)
Returns the package name used to load the resources for the given provider name. |
| Methods in android.im with parameters of type String | |
|---|---|
Map |
IImPlugin.getResourceMapForProvider(String providerName)
Returns a map of branding resources for the given provider. |
String |
IImPlugin.getResourcePackageNameForProvider(String providerName)
Returns the package name used to load the resources for the given provider name. |
| Uses of String in android.inputmethodservice |
|---|
| Fields in android.inputmethodservice declared as String | |
|---|---|
(package private) static String |
InputMethodService.TAG
|
(package private) static String |
Keyboard.TAG
|
| Methods in android.inputmethodservice with parameters of type String | |
|---|---|
void |
InputMethodService.InputMethodSessionImpl.appPrivateCommand(String action,
Bundle data)
Call InputMethodService.onAppPrivateCommand(). |
void |
IInputMethodSessionWrapper.appPrivateCommand(String action,
Bundle data)
|
void |
InputMethodService.onAppPrivateCommand(String action,
Bundle data)
|
(package private) int[] |
Keyboard.Key.parseCSV(String value)
|
void |
InputMethodService.switchInputMethod(String id)
Force switch to a new input method, as identified by id. |
| Uses of String in android.location |
|---|
| Fields in android.location declared as String | |
|---|---|
(package private) static String |
LocationProvider.BAD_CHARS_REGEX
|
static String |
LocationManager.GPS_PROVIDER
Name of the GPS location provider. |
static String |
LocationManager.KEY_LOCATION_CHANGED
Key used for a Bundle extra holding a Location value when a location change is broadcast using a PendingIntent. |
static String |
LocationManager.KEY_PROVIDER_ENABLED
Key used for a Bundle extra holding an Boolean status value when a provider enabled/disabled event is broadcast using a PendingIntent. |
static String |
LocationManager.KEY_PROXIMITY_ENTERING
Key used for the Bundle extra holding a boolean indicating whether a proximity alert is entering (true) or exiting (false).. |
static String |
LocationManager.KEY_STATUS_CHANGED
Key used for a Bundle extra holding an Integer status value when a status change is broadcast using a PendingIntent. |
(package private) String |
DummyLocationProvider.mName
|
static String |
LocationManager.NETWORK_PROVIDER
Name of the network location provider. |
static String |
LocationManager.PROVIDER_DIR
|
static String |
LocationManager.SYSTEM_DIR
|
| Methods in android.location that return String | |
|---|---|
static String |
Location.convert(double coordinate,
int outputType)
Converts a coordinate to a String representation. |
String |
Address.getAddressLine(int index)
Returns a line of the address numbered by the given index (starting at 0), or null if no such line is present. |
String |
Address.getAdminArea()
Returns the administrative area name of the address, for example, "CA", or null if it is unknown |
String |
LocationManager.getBestProvider(Criteria criteria,
boolean enabledOnly)
Returns the name of the provider that best meets the given criteria. |
String |
Address.getCountryCode()
Returns the country code of the address, for example "US", or null if it is unknown. |
String |
Address.getCountryName()
Returns the localized country name of the address, for example "Iceland", or null if it is unknown. |
String |
Address.getFeatureName()
Returns the feature name of the address, for example, "Golden Gate Bridge", or null if it is unknown |
String |
ILocationManager.getFromLocation(double latitude,
double longitude,
int maxResults,
String language,
String country,
String variant,
String appName,
List<Address> addrs)
|
String |
ILocationManager.getFromLocationName(String locationName,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude,
int maxResults,
String language,
String country,
String variant,
String appName,
List<Address> addrs)
|
String |
Address.getLocality()
Returns the locality of the address, for example "Mountain View", or null if it is unknown. |
String |
LocationProvider.getName()
Returns the name of this provider. |
String |
Address.getPhone()
Returns the phone number of the address if known, or null if it is unknown. |
String |
Address.getPostalCode()
Returns the postal code of the address, for example "94110", or null if it is unknown. |
String |
Location.getProvider()
Returns the name of the provider that generated this fix, or null if it is not associated with a provider. |
String |
Address.getSubAdminArea()
Returns the sub-administrative area name of the address, for example, "Santa Clara County", or null if it is unknown |
String |
Address.getThoroughfare()
Returns the thoroughfare name of the address, for example, "1600 Ampitheater Parkway", which may be null |
String |
Address.getUrl()
Returns the public URL for the address if known, or null if it is unknown. |
String |
Location.toString()
|
String |
Address.toString()
|
| Methods in android.location that return types with arguments of type String | |
|---|---|
List<String> |
LocationManager.getAllProviders()
Returns a list of the names of all known location providers. |
List<String> |
LocationManager.getProviders(boolean enabledOnly)
Returns a list of the names of location providers. |
List<String> |
LocationManager.getProviders(Criteria criteria,
boolean enabledOnly)
Returns a list of the names of LocationProviders that satisfy the given criteria, or null if none do. |
| Methods in android.location with parameters of type String | |
|---|---|
void |
LocationManager.addTestProvider(String name,
boolean requiresNetwork,
boolean requiresSatellite,
boolean requiresCell,
boolean hasMonetaryCost,
boolean supportsAltitude,
boolean supportsSpeed,
boolean supportsBearing,
int powerRequirement,
int accuracy)
Creates a mock location provider and adds it to the set of active providers. |
void |
ILocationManager.addTestProvider(String name,
boolean requiresNetwork,
boolean requiresSatellite,
boolean requiresCell,
boolean hasMonetaryCost,
boolean supportsAltitude,
boolean supportsSpeed,
boolean supportsBearing,
int powerRequirement,
int accuracy)
|
void |
LocationManager.clearTestProviderEnabled(String provider)
Removes any mock enabled value associated with the given provider. |
void |
ILocationManager.clearTestProviderEnabled(String provider)
|
void |
LocationManager.clearTestProviderLocation(String provider)
Removes any mock location associated with the given provider. |
void |
ILocationManager.clearTestProviderLocation(String provider)
|
void |
LocationManager.clearTestProviderStatus(String provider)
Removes any mock status values associated with the given provider. |
void |
ILocationManager.clearTestProviderStatus(String provider)
|
static double |
Location.convert(String coordinate)
Converts a String in one of the formats described by FORMAT_DEGREES, FORMAT_MINUTES, or FORMAT_SECONDS into a double. |
String |
ILocationManager.getFromLocation(double latitude,
double longitude,
int maxResults,
String language,
String country,
String variant,
String appName,
List<Address> addrs)
|
String |
ILocationManager.getFromLocationName(String locationName,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude,
int maxResults,
String language,
String country,
String variant,
String appName,
List<Address> addrs)
|
List<Address> |
Geocoder.getFromLocationName(String locationName,
int maxResults)
Returns an array of Addresses that are known to describe the named location, which may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "SFO", etc.. |
List<Address> |
Geocoder.getFromLocationName(String locationName,
int maxResults,
double lowerLeftLatitude,
double lowerLeftLongitude,
double upperRightLatitude,
double upperRightLongitude)
Returns an array of Addresses that are known to describe the named location, which may be a place name such as "Dalvik, Iceland", an address such as "1600 Amphitheatre Parkway, Mountain View, CA", an airport code such as "SFO", etc.. |
Location |
LocationManager.getLastKnownLocation(String provider)
Returns a Location indicating the data from the last known location fix obtained from the given provider. |
Location |
ILocationManager.getLastKnownLocation(String provider)
|
static LocationProviderImpl |
LocationProviderImpl.getProvider(String name)
|
LocationProvider |
LocationManager.getProvider(String name)
Returns the information associated with the location provider of the given name, or null if no provider exists by that name. |
Bundle |
ILocationManager.getProviderInfo(String provider)
|
boolean |
LocationManager.isProviderEnabled(String provider)
Returns the current enabled/disabled status of the given provider. |
boolean |
ILocationManager.isProviderEnabled(String provider)
|
void |
LocationListener.onProviderDisabled(String provider)
Called when the provider is disabled by the user. |
void |
ILocationListener.onProviderDisabled(String provider)
|
void |
LocationListener.onProviderEnabled(String provider)
Called when the provider is enabled by the user. |
void |
ILocationListener.onProviderEnabled(String provider)
|
void |
LocationListener.onStatusChanged(String provider,
int status,
Bundle extras)
Called when the provider status changes. |
void |
ILocationListener.onStatusChanged(String provider,
int status,
Bundle extras)
|
void |
LocationManager.removeTestProvider(String provider)
Removes the mock location provider with the given name. |
void |
ILocationManager.removeTestProvider(String provider)
|
void |
ILocationManager.requestLocationUpdates(String provider,
long minTime,
float minDistance,
ILocationListener listener)
|
void |
LocationManager.requestLocationUpdates(String provider,
long minTime,
float minDistance,
LocationListener listener)
Registers the current activity to be notified periodically by the named provider. |
void |
LocationManager.requestLocationUpdates(String provider,
long minTime,
float minDistance,
LocationListener listener,
Looper looper)
Registers the current activity to be notified periodically by the named provider. |
void |
LocationManager.requestLocationUpdates(String provider,
long minTime,
float minDistance,
PendingIntent intent)
Registers the current activity to be notified periodically by the named provider. |
void |
ILocationManager.requestLocationUpdatesPI(String provider,
long minTime,
float minDistance,
PendingIntent intent)
|
boolean |
LocationProviderImpl.sendExtraCommand(String command,
Bundle extras)
Implements addditional location provider specific additional commands. |
boolean |
LocationManager.sendExtraCommand(String provider,
String command,
Bundle extras)
Sends additional commands to a location provider. |
boolean |
ILocationManager.sendExtraCommand(String provider,
String command,
Bundle extras)
|
void |
Address.setAddressLine(int index,
String line)
Sets the line of the address numbered by index (starting at 0) to the given String, which may be null. |
void |
Address.setAdminArea(String adminArea)
Sets the administrative area name of the address to the given String, which may be null |
void |
Address.setCountryCode(String countryCode)
Sets the country code of the address to the given String, which may be null. |
void |
Address.setCountryName(String countryName)
Sets the country name of the address to the given String, which may be null. |
void |
Address.setFeatureName(String featureName)
Sets the feature name of the address to the given String, which may be null |
void |
Address.setLocality(String locality)
Sets the locality of the address to the given String, which may be null. |
void |
Address.setPhone(String phone)
Sets the phone number associated with this address. |
void |
Address.setPostalCode(String postalCode)
Sets the postal code of the address to the given String, which may be null. |
void |
Location.setProvider(String provider)
Sets the name of the provider that generated this fix. |
void |
Address.setSubAdminArea(String subAdminArea)
Sets the sub-administrative area name of the address to the given String, which may be null |
void |
LocationManager.setTestProviderEnabled(String provider,
boolean enabled)
Sets a mock enabled value for the given provider. |
void |
ILocationManager.setTestProviderEnabled(String provider,
boolean enabled)
|
void |
LocationManager.setTestProviderLocation(String provider,
Location loc)
Sets a mock location for the given provider. |
void |
ILocationManager.setTestProviderLocation(String provider,
Location loc)
|
void |
LocationManager.setTestProviderStatus(String provider,
int status,
Bundle extras,
long updateTime)
Sets mock status values for the given provider. |
void |
ILocationManager.setTestProviderStatus(String provider,
int status,
Bundle extras,
long updateTime)
|
void |
Address.setThoroughfare(String thoroughfare)
Sets the thoroughfare name of the address, which may be null. |
void |
Address.setUrl(String Url)
Sets the public URL associated with this address. |
| Constructors in android.location with parameters of type String | |
|---|---|
DummyLocationProvider(String name)
|
|
Location(String provider)
Constructs a new Location. |
|
LocationProvider(String name)
Constructs a LocationProvider with the given name. |
|
LocationProviderImpl(String name)
|
|
| Uses of String in android.media |
|---|
| Fields in android.media declared as String | |
|---|---|
static String |
RingtoneManager.ACTION_RINGTONE_PICKER
Activity Action: Shows a ringtone picker. |
static String |
AudioManager.EXTRA_RINGER_MODE
The new ringer mode. |
static String |
RingtoneManager.EXTRA_RINGTONE_DEFAULT_URI
Given to the ringtone picker as a Uri. |
static String |
RingtoneManager.EXTRA_RINGTONE_EXISTING_URI
Given to the ringtone picker as a Uri. |
static String |
RingtoneManager.EXTRA_RINGTONE_INCLUDE_DRM
Given to the ringtone picker as a boolean. |
static String |
RingtoneManager.EXTRA_RINGTONE_PICKED_URI
Returned from the ringtone picker as a Uri. |
static String |
RingtoneManager.EXTRA_RINGTONE_SHOW_DEFAULT
Given to the ringtone picker as a boolean. |
static String |
RingtoneManager.EXTRA_RINGTONE_SHOW_SILENT
Given to the ringtone picker as a boolean. |
static String |
RingtoneManager.EXTRA_RINGTONE_TITLE
Given to the ringtone picker as a CharSequence. |
static String |
RingtoneManager.EXTRA_RINGTONE_TYPE
Given to the ringtone picker as an int. |
static String |
AudioManager.EXTRA_VIBRATE_SETTING
The new vibrate setting for a particular type. |
static String |
AudioManager.EXTRA_VIBRATE_TYPE
The vibrate type whose setting has changed. |
(package private) String |
MediaFile.MediaFileType.mimeType
|
(package private) String |
MediaScanner.WplHandler.playListDirectory
|
static String |
AudioManager.RINGER_MODE_CHANGED_ACTION
Sticky broadcast intent action indicating that the ringer mode has changed. |
static String |
MediaFile.sFileExtensions
|
static String |
MediaFile.UNKNOWN_STRING
|
static String |
AudioManager.VIBRATE_SETTING_CHANGED_ACTION
Broadcast intent action indicating that the vibrate setting has changed. |
| Methods in android.media that return String | |
|---|---|
String |
MediaMetadataRetriever.extractMetadata(int keyCode)
Call this method after setDataSource(). |
String |
Ringtone.getTitle(Context context)
Returns a human-presentable title for ringtone. |
| Methods in android.media with parameters of type String | |
|---|---|
(package private) static void |
MediaFile.addFileType(String extension,
int fileType,
String mimeType)
|
(package private) boolean |
AudioService.checkAudioSettingsPermission(String method)
|
static MediaFile.MediaFileType |
MediaFile.getFileType(String path)
|
static int |
MediaFile.getFileTypeForMimeType(String mimeType)
|
void |
MediaScannerClient.handleStringTag(String name,
String value)
Called by native code to return metadata extracted from media files. |
int |
SoundPool.load(String path,
int priority)
|
void |
MediaScannerConnection.MediaScannerConnectionClient.onScanCompleted(String path,
Uri uri)
Called to notify the client when the media scanner has finished scanning a file. |
boolean |
JetPlayer.openJetFile(String path)
|
void |
IMediaScannerService.requestScanFile(String path,
String mimeType,
IMediaScannerListener listener)
Requests the media scanner to scan a file. |
void |
IMediaScannerListener.scanCompleted(String path,
Uri uri)
Called when a IMediaScannerService.scanFile() call has completed. |
void |
MediaScanner.scanDirectories(String[] directories,
String volumeName)
|
void |
MediaScanner.scanDirectories(String[] directories,
String volumeName)
|
void |
MediaScannerClient.scanFile(String path,
long lastModified,
long fileSize)
|
void |
MediaScannerConnection.scanFile(String path,
String mimeType)
Requests the media scanner to scan a file. |
void |
IMediaScannerService.scanFile(String path,
String mimeType)
Older API, left in for backward compatibility. |
void |
MediaScannerClient.scanFile(String path,
String mimeType,
long lastModified,
long fileSize)
|
Uri |
MediaScanner.scanSingleFile(String path,
String volumeName,
String mimeType)
|
void |
MediaPlayer.setDataSource(String path)
Sets the data source (file-path or http/rtsp URL) to use. |
void |
MediaMetadataRetriever.setDataSource(String path)
Sets the data source (file pathname) to use. |
void |
MediaScanner.setLocale(String locale)
|
void |
MediaScannerClient.setMimeType(String mimeType)
Called by native code to return mime type extracted from DRM content. |
void |
MediaRecorder.setOutputFile(String path)
Sets the path of the output file to be produced. |
void |
AudioManager.setParameter(String key,
String value)
|
void |
AudioService.setParameter(String key,
String value)
|
static void |
AudioSystem.setParameter(String key,
String value)
|
void |
IAudioService.setParameter(String key,
String value)
|
(package private) void |
Ringtone.setTitle(String title)
|
| Constructors in android.media with parameters of type String | |
|---|---|
AsyncPlayer(String tag)
Construct an AsyncPlayer object. |
|
MediaFile.MediaFileType(int fileType,
String mimeType)
|
|
MediaScanner.WplHandler(String playListDirectory,
Uri uri)
|
|
| Uses of String in android.net |
|---|
| Fields in android.net declared as String | |
|---|---|
static String |
ConnectivityManager.CONNECTIVITY_ACTION
A change in network connectivity has occurred. |
(package private) String |
Uri.AbstractPart.decoded
|
(package private) String |
Uri.AbstractPart.encoded
|
static String |
ConnectivityManager.EXTRA_EXTRA_INFO
The lookup key for a string that provides optionally supplied extra information about the network state. |
static String |
ConnectivityManager.EXTRA_IS_FAILOVER
The lookup key for a boolean that indicates whether a connect event is for a network to which the connectivity manager was failing over following a disconnect on another network. |
static String |
ConnectivityManager.EXTRA_NETWORK_INFO
The lookup key for a NetworkInfo object. |
static String |
ConnectivityManager.EXTRA_NO_CONNECTIVITY
The lookup key for a boolean that indicates whether there is a complete lack of connectivity, i.e., no network is available. |
static String |
ConnectivityManager.EXTRA_OTHER_NETWORK_INFO
The lookup key for a NetworkInfo object. |
static String |
ConnectivityManager.EXTRA_REASON
The lookup key for a string that indicates why an attempt to connect to a network failed. |
static String |
MailTo.MAILTO_SCHEME
|
String |
WebAddress.mAuthInfo
|
String |
WebAddress.mHost
|
String |
UrlQuerySanitizer.ParameterValuePair.mParameter
The unencoded parameter |
String |
WebAddress.mPath
|
String |
WebAddress.mScheme
|
String |
UrlQuerySanitizer.ParameterValuePair.mValue
The unencoded value |
static String |
Proxy.PROXY_CHANGE_ACTION
|
String |
ParseException.response
|
(package private) String[] |
Uri.PathSegments.segments
|
(package private) String[] |
Uri.PathSegmentsBuilder.segments
|
| Methods in android.net that return String | |
|---|---|
static String |
Uri.decode(String s)
Decodes '%'-escaped octets in the given string using the UTF-8 scheme. |
static String |
Uri.encode(String s)
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme. |
static String |
Uri.encode(String s,
String allow)
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme. |
String |
Uri.PathSegments.get(int index)
|
abstract String |
Uri.getAuthority()
Gets the decoded authority part of this URI. |
String |
MailTo.getBody()
Retrieve the body line from the parsed mailto URL. |
String |
MailTo.getCc()
Retrieve the CC address line from the parsed mailto URL. |
(package private) String |
Uri.AbstractPart.getDecoded()
|
String[] |
SSLCertificateSocketFactory.getDefaultCipherSuites()
|
static String |
Proxy.getDefaultHost()
Return the default proxy host specified by the carrier. |
static String |
NetworkUtils.getDhcpError()
Return the last DHCP-related error message that was recorded. |
(package private) abstract String |
Uri.AbstractPart.getEncoded()
|
(package private) String |
Uri.Part.getEncoded()
|
(package private) String |
Uri.PathPart.getEncoded()
|
abstract String |
Uri.getEncodedAuthority()
Gets the encoded authority part of this URI. |
abstract String |
Uri.getEncodedFragment()
Gets the encoded fragment part of this URI, everything after the '#'. |
abstract String |
Uri.getEncodedPath()
Gets the encoded path. |
abstract String |
Uri.getEncodedQuery()
Gets the encoded query component from this URI. |
abstract String |
Uri.getEncodedSchemeSpecificPart()
Gets the scheme-specific part of this URI, i.e. |
abstract String |
Uri.getEncodedUserInfo()
Gets the encoded user information from the authority. |
String |
NetworkInfo.getExtraInfo()
Report the extra information about the network state, if any was provided by the lower networking layers., if one is available. |
abstract String |
Uri.getFragment()
Gets the decoded fragment part of this URI, everything after the '#'. |
abstract String |
Uri.getHost()
Gets the encoded host from the authority for this URI. |
static String |
Proxy.getHost(Context ctx)
Return the proxy host set by the user. |
abstract String |
Uri.getLastPathSegment()
Gets the decoded last segment in the path. |
String |
LocalSocketAddress.getName()
Retrieves the string name of this address |
protected static String[] |
NetworkStateTracker.getNameServerList(String[] propertyNames)
Return the IP addresses of the DNS servers available for this network interface. |
abstract String[] |
NetworkStateTracker.getNameServers()
Return the list of DNS servers associated with this network. |
String[] |
MobileDataStateTracker.getNameServers()
Return the IP addresses of the DNS servers available for the mobile data network interface. |
abstract String |
Uri.getPath()
Gets the decoded path. |
abstract String |
Uri.getQuery()
Gets the decoded query component from this URI. |
String |
Uri.getQueryParameter(String key)
Searches the query string for the first value with the given key. |
String |
NetworkConnectivityListener.getReason()
An optional reason for the connectivity state change may have been supplied. |
String |
NetworkInfo.getReason()
Report the reason an attempt to establish connectivity failed, if one is available. |
abstract String |
Uri.getScheme()
Gets the scheme of this URI. |
abstract String |
Uri.getSchemeSpecificPart()
Gets the scheme-specific part of this URI, i.e. |
String |
MailTo.getSubject()
Retrieve the subject line from the parsed mailto URL. |
String |
NetworkInfo.getSubtypeName()
Return a human-readable name describing the subtype of the network. |
String[] |
SSLCertificateSocketFactory.getSupportedCipherSuites()
|
abstract String |
NetworkStateTracker.getTcpBufferSizesPropName()
Return the system properties name associated with the tcp buffer sizes for this network. |
String |
MobileDataStateTracker.getTcpBufferSizesPropName()
Return the system properties name associated with the tcp buffer sizes for this network. |
String |
MailTo.getTo()
Retrieve the To address line from the parsed mailto URL. |
String |
NetworkInfo.getTypeName()
Return a human-readable name describe the type of the network, for example "WIFI" or "MOBILE". |
abstract String |
Uri.getUserInfo()
Gets the decoded user information from the authority. |
String |
UrlQuerySanitizer.getValue(String parameter)
Get the value for a parameter in the current sanitized query. |
String |
UrlQuerySanitizer.ValueSanitizer.sanitize(String value)
Sanitize an unencoded value. |
String |
UrlQuerySanitizer.IllegalCharacterValueSanitizer.sanitize(String value)
Sanitize a value. |
String |
LocalSocketImpl.toString()
|
String |
WebAddress.toString()
|
String |
DhcpInfo.toString()
|
String |
MobileDataStateTracker.toString()
|
String |
LocalSocket.toString()
Returns a string containing a concise, human-readable description of this object. |
String |
NetworkInfo.toString()
|
abstract String |
Uri.toString()
Returns the encoded string representation of this URI. |
String |
Uri.Builder.toString()
|
String |
MailTo.toString()
|
String |
UrlQuerySanitizer.unescape(String string)
Unescape an escaped string. |
| Methods in android.net that return types with arguments of type String | |
|---|---|
Map<String,String> |
MailTo.getHeaders()
Retrieve all the parsed email headers from the mailto URL |
Map<String,String> |
MailTo.getHeaders()
Retrieve all the parsed email headers from the mailto URL |
Set<String> |
UrlQuerySanitizer.getParameterSet()
Get a set of all of the parameters found in the sanitized query. |
abstract List<String> |
Uri.getPathSegments()
Gets the decoded path segments. |
List<String> |
Uri.getQueryParameters(String key)
Searches the query string for parameter values with the given key. |
| Methods in android.net with parameters of type String | |
|---|---|
(package private) void |
Uri.PathSegmentsBuilder.add(String segment)
|
static int |
NetworkUtils.addHostRoute(String interfaceName,
int hostaddr)
Add a route to the specified host via the named interface. |
protected void |
UrlQuerySanitizer.addSanitizedEntry(String parameter,
String value)
Record a sanitized parameter-value pair. |
(package private) static Uri.PathPart |
Uri.PathPart.appendDecodedSegment(Uri.PathPart oldPart,
String decoded)
|
Uri.Builder |
Uri.Builder.appendEncodedPath(String newSegment)
Appends the given segment to the path. |
(package private) static Uri.PathPart |
Uri.PathPart.appendEncodedSegment(Uri.PathPart oldPart,
String newSegment)
|
Uri.Builder |
Uri.Builder.appendPath(String newSegment)
Encodes the given segment and appends it to the path. |
Uri.Builder |
Uri.Builder.appendQueryParameter(String key,
String value)
Encodes the key and value and then appends the parameter to the query string. |
Uri.Builder |
Uri.Builder.authority(String authority)
Encodes and sets the authority. |
static boolean |
NetworkUtils.configureInterface(String interfaceName,
DhcpInfo ipInfo)
When static IP configuration has been specified, configure the network interface according to the values supplied. |
Socket |
SSLCertificateSocketFactory.createSocket(Socket socket,
String s,
int i,
boolean flag)
|
Socket |
SSLCertificateSocketFactory.createSocket(String s,
int i)
|
Socket |
SSLCertificateSocketFactory.createSocket(String s,
int i,
InetAddress inaddr,
int j)
|
static String |
Uri.decode(String s)
Decodes '%'-escaped octets in the given string using the UTF-8 scheme. |
static int |
NetworkUtils.disableInterface(String interfaceName)
Bring the named network interface down. |
static String |
Uri.encode(String s)
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme. |
static String |
Uri.encode(String s,
String allow)
Encodes characters in the given string as '%'-escaped octets using the UTF-8 scheme. |
Uri.Builder |
Uri.Builder.encodedAuthority(String authority)
Sets the previously encoded authority. |
Uri.Builder |
Uri.Builder.encodedFragment(String fragment)
Sets the previously encoded fragment. |
Uri.Builder |
Uri.Builder.encodedOpaquePart(String opaquePart)
Sets the previously encoded opaque scheme-specific-part. |
Uri.Builder |
Uri.Builder.encodedPath(String path)
Sets the previously encoded path. |
Uri.Builder |
Uri.Builder.encodedQuery(String query)
Sets the previously encoded query. |
Uri.Builder |
Uri.Builder.fragment(String fragment)
Encodes and sets the fragment. |
(package private) static Uri.Part |
Uri.Part.from(String encoded,
String decoded)
Creates a part from the encoded and decoded strings. |
(package private) static Uri.PathPart |
Uri.PathPart.from(String encoded,
String decoded)
Creates a path from the encoded and decoded strings. |
(package private) static Uri.Part |
Uri.Part.fromDecoded(String decoded)
Creates a part from the decoded string. |
(package private) static Uri.PathPart |
Uri.PathPart.fromDecoded(String decoded)
Creates a path from the decoded string. |
(package private) static Uri.Part |
Uri.Part.fromEncoded(String encoded)
Creates a part from the encoded string. |
(package private) static Uri.PathPart |
Uri.PathPart.fromEncoded(String encoded)
Creates a path from the encoded string. |
static Uri |
Uri.fromParts(String scheme,
String ssp,
String fragment)
Creates an opaque Uri from the given components. |
static int |
NetworkUtils.getDefaultRoute(String interfaceName)
Return the gateway address for the default route for the named interface. |
UrlQuerySanitizer.ValueSanitizer |
UrlQuerySanitizer.getEffectiveValueSanitizer(String parameter)
Get the effective value sanitizer for a parameter. |
protected static String[] |
NetworkStateTracker.getNameServerList(String[] propertyNames)
Return the IP addresses of the DNS servers available for this network interface. |
String |
Uri.getQueryParameter(String key)
Searches the query string for the first value with the given key. |
List<String> |
Uri.getQueryParameters(String key)
Searches the query string for parameter values with the given key. |
String |
UrlQuerySanitizer.getValue(String parameter)
Get the value for a parameter in the current sanitized query. |
UrlQuerySanitizer.ValueSanitizer |
UrlQuerySanitizer.getValueSanitizer(String parameter)
Get the value sanitizer for a parameter. |
boolean |
UrlQuerySanitizer.hasParameter(String parameter)
Check if a parameter exists in the current sanitized query. |
static boolean |
MailTo.isMailTo(String url)
Test to see if the given string is a mailto URL |
static int |
NetworkUtils.lookupHost(String hostname)
Look up a host name and return the result as an int. |
Uri.Builder |
Uri.Builder.opaquePart(String opaquePart)
Encodes and sets the given opaque scheme-specific-part. |
static Uri |
Uri.parse(String uriString)
Creates a Uri which parses the given encoded URI string. |
static MailTo |
MailTo.parse(String url)
Parse and decode a mailto scheme string. |
protected void |
UrlQuerySanitizer.parseEntry(String parameter,
String value)
Parse an escaped parameter-value pair. |
void |
UrlQuerySanitizer.parseQuery(String query)
Parse a query. |
void |
UrlQuerySanitizer.parseUrl(String url)
Parse the query parameters out of an encoded URL. |
Uri.Builder |
Uri.Builder.path(String path)
Sets the path. |
Uri.Builder |
Uri.Builder.query(String query)
Encodes and sets the query. |
void |
UrlQuerySanitizer.registerParameter(String parameter,
UrlQuerySanitizer.ValueSanitizer valueSanitizer)
Register a value sanitizer for a particular parameter. |
void |
UrlQuerySanitizer.registerParameters(String[] parameters,
UrlQuerySanitizer.ValueSanitizer valueSanitizer)
Register a value sanitizer for an array of parameters. |
static boolean |
NetworkUtils.releaseDhcpLease(String interfaceName)
Release the current DHCP lease. |
static int |
NetworkUtils.removeDefaultRoute(String interfaceName)
Remove the default route for the named interface. |
static int |
NetworkUtils.removeHostRoutes(String interfaceName)
Remove host routes that uses the named interface. |
boolean |
SntpClient.requestTime(String host,
int timeout)
Sends an SNTP request to the given host and processes the response. |
static int |
NetworkUtils.resetConnections(String interfaceName)
Reset any sockets that are connected via the named interface. |
static boolean |
NetworkUtils.runDhcp(String interfaceName,
DhcpInfo ipInfo)
Start the DHCP client daemon, in order to have it request addresses for the named interface, and then configure the interface with those addresses. |
String |
UrlQuerySanitizer.ValueSanitizer.sanitize(String value)
Sanitize an unencoded value. |
String |
UrlQuerySanitizer.IllegalCharacterValueSanitizer.sanitize(String value)
Sanitize a value. |
Uri.Builder |
Uri.Builder.scheme(String scheme)
Sets the scheme. |
static int |
NetworkUtils.setDefaultRoute(String interfaceName,
int gwayAddr)
Add a default route for the named interface. |
void |
NetworkStateTracker.setDetailedState(NetworkInfo.DetailedState state,
String reason,
String extraInfo)
Record the detailed state of a network, and if it is a change from the previous state, send a notification to any listeners. |
(package private) void |
NetworkInfo.setDetailedState(NetworkInfo.DetailedState detailedState,
String reason,
String extraInfo)
Sets the fine-grained state of the network. |
protected void |
NetworkStateTracker.setSubtype(int subtype,
String subtypeName)
|
(package private) void |
NetworkInfo.setSubtype(int subtype,
String subtypeName)
|
int |
ConnectivityManager.startUsingNetworkFeature(int networkType,
String feature)
Tells the underlying networking system that the caller wants to begin using the named feature. |
int |
IConnectivityManager.startUsingNetworkFeature(int networkType,
String feature)
|
abstract int |
NetworkStateTracker.startUsingNetworkFeature(String feature,
int callingPid,
int callingUid)
Tells the underlying networking system that the caller wants to begin using the named feature. |
int |
MobileDataStateTracker.startUsingNetworkFeature(String feature,
int callingPid,
int callingUid)
Tells the phone sub-system that the caller wants to begin using the named feature. |
static boolean |
NetworkUtils.stopDhcp(String interfaceName)
Shut down the DHCP client daemon. |
int |
ConnectivityManager.stopUsingNetworkFeature(int networkType,
String feature)
Tells the underlying networking system that the caller is finished using the named feature. |
int |
IConnectivityManager.stopUsingNetworkFeature(int networkType,
String feature)
|
abstract int |
NetworkStateTracker.stopUsingNetworkFeature(String feature,
int callingPid,
int callingUid)
Tells the underlying networking system that the caller is finished using the named feature. |
int |
MobileDataStateTracker.stopUsingNetworkFeature(String feature,
int callingPid,
int callingUid)
Tells the phone sub-system that the caller is finished using the named feature. |
String |
UrlQuerySanitizer.unescape(String string)
Unescape an escaped string. |
static NetworkConnectivityListener.State |
NetworkConnectivityListener.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NetworkInfo.State |
NetworkInfo.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NetworkInfo.DetailedState |
NetworkInfo.DetailedState.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LocalSocketAddress.Namespace |
LocalSocketAddress.Namespace.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Uri |
Uri.withAppendedPath(Uri baseUri,
String pathSegment)
Creates a new Uri by encoding and appending a path segment to a base Uri. |
| Constructors in android.net with parameters of type String | |
|---|---|
LocalServerSocket(String name)
Crewates a new server socket listening at specified name. |
|
LocalSocketAddress(String name)
Creates an instance with a given name in the LocalSocketAddress.Namespace.ABSTRACT
namespace |
|
LocalSocketAddress(String name,
LocalSocketAddress.Namespace namespace)
Creates an instance with a given name. |
|
NetworkInfo(int type,
int subtype,
String typeName,
String subtypeName)
|
|
NetworkStateTracker(Context context,
Handler target,
int networkType,
int subType,
String typeName,
String subtypeName)
|
|
ParseException(String response)
|
|
Uri.AbstractPart(String encoded,
String decoded)
|
|
Uri.PathSegments(String[] segments,
int size)
|
|
UrlQuerySanitizer.ParameterValuePair(String parameter,
String value)
Construct a parameter-value tuple. |
|
UrlQuerySanitizer(String url)
Constructs a UrlQuerySanitizer and parse a URL. |
|
WebAddress(String address)
parses given uriString. |
|
| Uses of String in android.net.http |
|---|
| Fields in android.net.http declared as String | |
|---|---|
static String |
Headers.ACCEPT_RANGES
|
static String |
HttpAuthHeader.BASIC_TOKEN
Possible HTTP-authentication header tokens to search for: |
static String |
Headers.CACHE_CONTROL
|
static String |
Headers.CONN_DIRECTIVE
|
static String |
Headers.CONTENT_DISPOSITION
|
static String |
Headers.CONTENT_ENCODING
|
static String |
Headers.CONTENT_LEN
|
static String |
Headers.CONTENT_TYPE
|
static String |
HttpAuthHeader.DIGEST_TOKEN
|
static String |
Headers.ETAG
|
static String |
Headers.EXPIRES
|
static String |
RequestQueue.HTTP_NETWORK_STATE_CHANGED_INTENT
This intent broadcast when http is paused or unpaused due to net availability toggling |
static String |
RequestQueue.HTTP_NETWORK_STATE_UP
|
static String |
Headers.LAST_MODIFIED
|
static String |
Headers.LOCATION
|
(package private) String |
Request.mPath
The path component of this request |
static String |
Headers.PRAGMA
|
static String |
Headers.PROXY_AUTHENTICATE
|
static String |
Headers.PROXY_CONNECTION
|
static String |
Headers.REFRESH
|
static String |
Headers.SET_COOKIE
|
static String |
Headers.TRANSFER_ENCODING
|
static String |
Headers.WWW_AUTHENTICATE
|
| Methods in android.net.http that return String | |
|---|---|
static String |
RequestHandle.authorizationHeader(boolean isProxy)
|
static String |
RequestHandle.computeBasicAuthResponse(String username,
String password)
|
String |
Headers.getAcceptRanges()
|
String |
HttpAuthHeader.getAlgorithm()
|
String |
Headers.getCacheControl()
|
String |
SslCertificate.DName.getCName()
|
String |
Headers.getContentDisposition()
|
String |
Headers.getContentEncoding()
|
String |
Headers.getContentType()
|
String |
SslCertificate.DName.getDName()
|
String |
Headers.getEtag()
|
String |
Headers.getExpires()
|
(package private) String |
Request.getHostPort()
|
String |
Headers.getLastModified()
|
String |
Headers.getLocation()
|
String |
RequestHandle.getMethod()
|
String |
HttpAuthHeader.getNonce()
|
String |
SslCertificate.DName.getOName()
|
String |
HttpAuthHeader.getOpaque()
|
String |
HttpAuthHeader.getPassword()
|
String |
Headers.getPragma()
|
String |
Headers.getProxyAuthenticate()
|
String |
HttpAuthHeader.getQop()
|
String |
HttpAuthHeader.getRealm()
|
String |
Headers.getRefresh()
|
(package private) String |
HttpsConnection.getScheme()
|
(package private) abstract String |
Connection.getScheme()
typically http or https... |
(package private) String |
HttpConnection.getScheme()
|
String |
SslCertificate.DName.getUName()
|
(package private) String |
Request.getUri()
|
String |
HttpAuthHeader.getUsername()
|
String |
SslCertificate.getValidNotAfter()
|
String |
SslCertificate.getValidNotBefore()
|
String |
Headers.getWwwAuthenticate()
|
String |
SslError.toString()
|
String |
Request.toString()
for debugging |
String |
SslCertificate.toString()
|
String |
ConnectionThread.toString()
|
String |
AndroidHttpClientConnection.toString()
|
String |
Connection.toString()
Prints request queue to log, for debugging. |
| Methods in android.net.http that return types with arguments of type String | |
|---|---|
ArrayList<String> |
Headers.getSetCookie()
|
| Methods in android.net.http with parameters of type String | |
|---|---|
(package private) void |
Request.addHeader(String name,
String value)
Add header represented by given pair to request. |
static String |
RequestHandle.computeBasicAuthResponse(String username,
String password)
|
(package private) static boolean |
CharArrayBuffers.containsIgnoreCaseTrimmed(CharArrayBuffer buffer,
int beginIndex,
String str)
Returns true if the buffer contains the given string. |
SslError |
CertificateChainValidator.doHandshakeAndValidateServerCertificates(HttpsConnection connection,
SSLSocket sslSocket,
String domain)
Performs the handshake and server certificates validation |
(package private) static void |
HttpLog.e(String logMe)
|
void |
AndroidHttpClient.enableCurlLogging(String name,
int level)
Enables cURL request logging for this client. |
void |
LoggingEventHandler.error(int id,
String description)
|
void |
EventHandler.error(int id,
String description)
There was trouble. |
boolean |
CertificateValidatorCache.has(String domain,
byte[] secureHash)
|
void |
Headers.HeaderCallback.header(String name,
String value)
|
void |
LoggingEventHandler.locationChanged(String newLocation,
boolean permanent)
|
void |
Timer.mark(String message)
|
static boolean |
DomainNameChecker.match(X509Certificate certificate,
String thisDomain)
Checks the site certificate against the domain name of the site being visited |
static AndroidHttpClient |
AndroidHttpClient.newInstance(String userAgent)
Create a new HttpClient with reasonable defaults (which you can update). |
boolean |
CertificateValidatorCache.put(String domain,
byte[] secureHash,
long save)
Adds the (domain, secureHash) tuple to the cache |
RequestHandle |
RequestQueue.queueRequest(String url,
String method,
Map<String,String> headers,
EventHandler eventHandler,
InputStream bodyProvider,
int bodyLength,
boolean highPriority)
Queues an HTTP request |
RequestHandle |
RequestQueue.queueRequest(String url,
WebAddress uri,
String method,
Map<String,String> headers,
EventHandler eventHandler,
InputStream bodyProvider,
int bodyLength,
boolean highPriority)
Queues an HTTP request |
void |
Headers.setAcceptRanges(String value)
|
void |
Headers.setCacheControl(String value)
|
void |
Headers.setContentDisposition(String value)
|
void |
Headers.setContentEncoding(String value)
|
void |
Headers.setContentType(String value)
|
void |
Headers.setEtag(String value)
|
void |
Headers.setExpires(String value)
|
void |
Headers.setLastModified(String value)
|
void |
Headers.setLocation(String value)
|
void |
HttpAuthHeader.setPassword(String password)
Sets the password string. |
void |
Headers.setProxyAuthenticate(String value)
|
void |
RequestHandle.setupBasicAuthResponse(boolean isProxy,
String username,
String password)
Create and queue an HTTP authentication-response (basic) request. |
void |
RequestHandle.setupDigestAuthResponse(boolean isProxy,
String username,
String password,
String realm,
String nonce,
String QOP,
String algorithm,
String opaque)
Create and queue an HTTP authentication-response (digest) request. |
boolean |
RequestHandle.setupRedirect(String redirectTo,
int statusCode,
Map<String,String> cacheHeaders)
Create and queue a redirect request. |
void |
HttpAuthHeader.setUsername(String username)
Sets the username string. |
void |
Headers.setWwwAuthenticate(String value)
|
void |
LoggingEventHandler.status(int major_version,
int minor_version,
int code,
String reason_phrase)
|
void |
EventHandler.status(int major_version,
int minor_version,
int code,
String reason_phrase)
Called after status line has been sucessfully processed. |
(package private) static void |
HttpLog.v(String logMe)
|
| Method parameters in android.net.http with type arguments of type String | |
|---|---|
(package private) void |
Request.addHeaders(Map<String,String> headers)
Add all headers in given map to this request. |
(package private) void |
Request.addHeaders(Map<String,String> headers)
Add all headers in given map to this request. |
RequestHandle |
RequestQueue.queueRequest(String url,
String method,
Map<String,String> headers,
EventHandler eventHandler,
InputStream bodyProvider,
int bodyLength,
boolean highPriority)
Queues an HTTP request |
RequestHandle |
RequestQueue.queueRequest(String url,
String method,
Map<String,String> headers,
EventHandler eventHandler,
InputStream bodyProvider,
int bodyLength,
boolean highPriority)
Queues an HTTP request |
RequestHandle |
RequestQueue.queueRequest(String url,
WebAddress uri,
String method,
Map<String,String> headers,
EventHandler eventHandler,
InputStream bodyProvider,
int bodyLength,
boolean highPriority)
Queues an HTTP request |
RequestHandle |
RequestQueue.queueRequest(String url,
WebAddress uri,
String method,
Map<String,String> headers,
EventHandler eventHandler,
InputStream bodyProvider,
int bodyLength,
boolean highPriority)
Queues an HTTP request |
boolean |
RequestHandle.setupRedirect(String redirectTo,
int statusCode,
Map<String,String> cacheHeaders)
Create and queue a redirect request. |
boolean |
RequestHandle.setupRedirect(String redirectTo,
int statusCode,
Map<String,String> cacheHeaders)
Create and queue a redirect request. |
| Constructors in android.net.http with parameters of type String | |
|---|---|
HttpAuthHeader(String header)
Creates a new HTTP-authentication header object from the input header string. |
|
Request(String method,
HttpHost host,
HttpHost proxyHost,
String path,
InputStream bodyProvider,
int bodyLength,
EventHandler eventHandler,
Map<String,String> headers,
boolean highPriority)
Instantiates a new Request. |
|
RequestHandle(RequestQueue requestQueue,
String url,
WebAddress uri,
String method,
Map<String,String> headers,
InputStream bodyProvider,
int bodyLength,
Request request)
Creates a new request session. |
|
SslCertificate.DName(String dName)
Creates a new distinguished name |
|
SslCertificate(String issuedTo,
String issuedBy,
String validNotBefore,
String validNotAfter)
Creates a new SSL certificate object |
|
SSLConnectionClosedByUserException(String reason)
|
|
| Constructor parameters in android.net.http with type arguments of type String | |
|---|---|
Request(String method,
HttpHost host,
HttpHost proxyHost,
String path,
InputStream bodyProvider,
int bodyLength,
EventHandler eventHandler,
Map<String,String> headers,
boolean highPriority)
Instantiates a new Request. |
|
Request(String method,
HttpHost host,
HttpHost proxyHost,
String path,
InputStream bodyProvider,
int bodyLength,
EventHandler eventHandler,
Map<String,String> headers,
boolean highPriority)
Instantiates a new Request. |
|
RequestHandle(RequestQueue requestQueue,
String url,
WebAddress uri,
String method,
Map<String,String> headers,
InputStream bodyProvider,
int bodyLength,
Request request)
Creates a new request session. |
|
RequestHandle(RequestQueue requestQueue,
String url,
WebAddress uri,
String method,
Map<String,String> headers,
InputStream bodyProvider,
int bodyLength,
Request request)
Creates a new request session. |
|
| Uses of String in android.net.wifi |
|---|
| Fields in android.net.wifi declared as String | |
|---|---|
static String |
WifiManager.ACTION_PICK_WIFI_NETWORK
Activity Action: Pick a Wi-Fi network to connect to. |
String |
ScanResult.BSSID
The address of the access point. |
String |
WifiConfiguration.BSSID
When set, this network configuration entry should only be used when associating with the AP having the specified BSSID. |
static String |
WifiConfiguration.bssidVarName
|
String |
ScanResult.capabilities
Describes the authentication, key management, and encryption schemes supported by the access point. |
static String |
WifiManager.EXTRA_BSSID
The lookup key for a String giving the BSSID of the access point to which we are connected. |
static String |
WifiManager.EXTRA_NETWORK_INFO
The lookup key for a NetworkInfo object associated with the
Wi-Fi network. |
static String |
WifiManager.EXTRA_NEW_RSSI
The lookup key for an int giving the new RSSI in dBm. |
static String |
WifiManager.EXTRA_NEW_STATE
The lookup key for a SupplicantState describing the new state
Retrieve with
Intent.getParcelableExtra(String). |
static String |
WifiManager.EXTRA_PREVIOUS_WIFI_STATE
The previous Wi-Fi state. |
static String |
WifiManager.EXTRA_SUPPLICANT_CONNECTED
The lookup key for a boolean that indicates whether a connection to the supplicant daemon has been gained or lost. |
static String |
WifiManager.EXTRA_SUPPLICANT_ERROR
The lookup key for a SupplicantState describing the supplicant
error code if any
Retrieve with
Intent.getIntExtra(String, int). |
static String |
WifiManager.EXTRA_WIFI_STATE
The lookup key for an int that indicates whether Wi-Fi is enabled, disabled, enabling, disabling, or unknown. |
static String |
WifiConfiguration.hiddenSSIDVarName
|
static String |
WifiInfo.LINK_SPEED_UNITS
Link speed in Mbps |
static String |
WifiManager.NETWORK_IDS_CHANGED_ACTION
The network IDs of the configured networks could have changed. |
static String |
WifiManager.NETWORK_STATE_CHANGED_ACTION
Broadcast intent action indicating that the state of Wi-Fi connectivity has changed. |
String |
WifiConfiguration.preSharedKey
Pre-shared key for use with WPA-PSK. |
static String |
WifiConfiguration.priorityVarName
|
static String |
WifiConfiguration.pskVarName
|
static String |
WifiManager.RSSI_CHANGED_ACTION
The RSSI (signal strength) has changed. |
static String |
WifiManager.SCAN_RESULTS_AVAILABLE_ACTION
An access point scan has completed, and results are available from the supplicant. |
String |
ScanResult.SSID
The network name. |
String |
WifiConfiguration.SSID
The network's SSID. |
static String |
WifiConfiguration.ssidVarName
|
static String[] |
WifiConfiguration.KeyMgmt.strings
|
static String[] |
WifiConfiguration.Protocol.strings
|
static String[] |
WifiConfiguration.AuthAlgorithm.strings
|
static String[] |
WifiConfiguration.PairwiseCipher.strings
|
static String[] |
WifiConfiguration.GroupCipher.strings
|
static String[] |
WifiConfiguration.Status.strings
|
static String |
WifiManager.SUPPLICANT_CONNECTION_CHANGE_ACTION
Broadcast intent action indicating that a connection to the supplicant has been established (and it is now possible to perform Wi-Fi operations) or the connection to the supplicant has been lost. |
static String |
WifiManager.SUPPLICANT_STATE_CHANGED_ACTION
Broadcast intent action indicating that the state of establishing a connection to an access point has changed.One extra provides the new SupplicantState. |
static String |
WifiConfiguration.KeyMgmt.varName
|
static String |
WifiConfiguration.Protocol.varName
|
static String |
WifiConfiguration.AuthAlgorithm.varName
|
static String |
WifiConfiguration.PairwiseCipher.varName
|
static String |
WifiConfiguration.GroupCipher.varName
|
String[] |
WifiConfiguration.wepKeys
Up to four WEP keys. |
static String[] |
WifiConfiguration.wepKeyVarNames
|
static String |
WifiConfiguration.wepTxKeyIdxVarName
|
static String |
WifiManager.WIFI_STATE_CHANGED_ACTION
Broadcast intent action indicating that Wi-Fi has been enabled, disabled, enabling, disabling, or unknown. |
| Methods in android.net.wifi that return String | |
|---|---|
String |
WifiInfo.getBSSID()
Return the basic service set identifier (BSSID) of the current access point. |
static String |
WifiNative.getDhcpError()
|
static String |
WifiNative.getErrorString(int errorCode)
|
String |
WifiInfo.getMacAddress()
|
static String |
WifiNative.getMacAddressCommand()
|
String[] |
WifiStateTracker.getNameServers()
Return the IP addresses of the DNS servers available for the WLAN network interface. |
static String |
WifiNative.getNetworkVariableCommand(int netId,
String name)
|
String |
WifiInfo.getSSID()
Returns the service set identifier (SSID) of the current 802.11 network. |
String |
WifiStateTracker.getTcpBufferSizesPropName()
Return the system properties name associated with the tcp buffer sizes for this network. |
static String |
WifiNative.listNetworksCommand()
|
static String |
WifiNative.scanResultsCommand()
|
static String |
WifiNative.statusCommand()
|
String |
WifiInfo.toString()
|
String |
WifiManager.WifiLock.toString()
|
String |
ScanResult.toString()
|
String |
WifiStateTracker.toString()
|
String |
WifiConfiguration.toString()
|
static String |
WifiNative.waitForEvent()
Wait for the supplicant to send an event, returning the event string. |
| Methods in android.net.wifi with parameters of type String | |
|---|---|
boolean |
IWifiManager.acquireWifiLock(IBinder lock,
int lockType,
String tag)
|
boolean |
WifiStateTracker.addToBlacklist(String bssid)
|
static boolean |
WifiNative.addToBlacklistCommand(String bssid)
|
WifiManager.WifiLock |
WifiManager.createWifiLock(int lockType,
String tag)
Creates a new WifiLock. |
WifiManager.WifiLock |
WifiManager.createWifiLock(String tag)
Creates a new WifiLock. |
static String |
WifiNative.getNetworkVariableCommand(int netId,
String name)
|
(package private) void |
WifiMonitor.MonitorThread.handleEvent(int event,
String remainder)
Handle all supplicant events except STATE-CHANGE |
(package private) void |
WifiStateTracker.notifyStateChange(NetworkInfo.DetailedState newState,
String BSSID,
int networkId)
Send the tracker a notification that the state of Wifi connectivity has changed. |
(package private) void |
WifiInfo.setBSSID(String BSSID)
|
(package private) void |
WifiInfo.setMacAddress(String macAddress)
Record the MAC address of the WLAN interface |
static boolean |
WifiNative.setNetworkVariableCommand(int netId,
String name,
String value)
|
(package private) void |
WifiInfo.setSSID(String SSID)
|
(package private) void |
WifiInfo.setSupplicantState(String stateName)
Set the SupplicantState from the string name
of the state. |
int |
WifiStateTracker.startUsingNetworkFeature(String feature,
int callingPid,
int callingUid)
Tells the underlying networking system that the caller wants to begin using the named feature. |
int |
WifiStateTracker.stopUsingNetworkFeature(String feature,
int callingPid,
int callingUid)
Tells the underlying networking system that the caller is finished using the named feature. |
static SupplicantState |
SupplicantState.valueOf(String name)
Returns the enum constant of this type with the specified name. |
(package private) static SupplicantState |
WifiInfo.valueOf(String stateName)
|
| Constructors in android.net.wifi with parameters of type String | |
|---|---|
ScanResult(String SSID,
String BSSID,
String caps,
int level,
int frequency)
We'd like to obtain the following attributes, but they are not reported via the socket interface, even though they are known internally by wpa_supplicant. |
|
| Uses of String in android.opengl |
|---|
| Methods in android.opengl that return String | |
|---|---|
String |
EGLLogWrapper.eglQueryString(EGLDisplay display,
int name)
|
static String |
GLLogWrapper.getErrorString(int error)
|
static String |
EGLLogWrapper.getErrorString(int error)
|
String |
Material.getMap_Kd()
|
String |
Group.getName()
|
String |
Material.getName()
|
String |
GLLogWrapper.glGetString(int name)
|
String |
GLErrorWrapper.glGetString(int name)
|
static String |
GLU.gluErrorString(int error)
Return an error string from a GL or GLU error code. |
String |
Group.toString()
|
String |
Material.toString()
|
| Methods in android.opengl with parameters of type String | |
|---|---|
Material |
Object3D.getMaterial(String name)
|
Texture |
Object3D.getTexture(String name)
|
void |
Object3D.load(String filename)
|
void |
Object3D.loadTexture(String name)
|
abstract InputStream |
Object3D.readFile(String filename)
Override this method with an implementation that contructs and InputStream from the given filename. |
| Constructors in android.opengl with parameters of type String | |
|---|---|
GLException(int error,
String string)
|
|
| Uses of String in android.os |
|---|
| Fields in android.os declared as String | |
|---|---|
static String |
Process.ANDROID_SHARED_MEDIA
Name of a process for running the platform's media services. |
static String |
Build.BOARD
The name of the underlying board, like "goldfish". |
static String |
Build.BRAND
The brand (e.g., carrier) the software is customized for, if any. |
static String |
IServiceManager.descriptor
|
static String |
Build.DEVICE
The name of the industrial design. |
static String |
Build.FINGERPRINT
A string that uniquely identifies this build. |
static String |
Process.GOOGLE_SHARED_APP_CONTENT
Name of the process that Google content providers can share. |
static String |
Build.HOST
|
static String |
Build.ID
Either a changelist number, or a label like "M4-rc20". |
static String |
Build.VERSION.INCREMENTAL
The internal value used by the underlying source control to represent this build. |
static String |
Environment.MEDIA_BAD_REMOVAL
getExternalStorageState() returns MEDIA_BAD_REMOVAL if the media was removed before it was unmounted. |
static String |
Environment.MEDIA_MOUNTED
getExternalStorageState() returns MEDIA_MOUNTED if the media is present and mounted at its mount point with read/write access. |
static String |
Environment.MEDIA_MOUNTED_READ_ONLY
getExternalStorageState() returns MEDIA_MOUNTED_READ_ONLY if the media is present and mounted at its mount point with read only access. |
static String |
Environment.MEDIA_REMOVED
getExternalStorageState() returns MEDIA_REMOVED if the media is not present. |
static String |
Environment.MEDIA_SHARED
getExternalStorageState() returns MEDIA_SHARED if the media is present not mounted, and shared via USB mass storage. |
static String |
Environment.MEDIA_UNMOUNTABLE
getExternalStorageState() returns MEDIA_UNMOUNTABLE if the media is present but cannot be mounted. |
static String |
Environment.MEDIA_UNMOUNTED
getExternalStorageState() returns MEDIA_UNMOUNTED if the media is present but not mounted. |
static String |
Build.MODEL
The end-user-visible name for the end product. |
(package private) String |
PowerManager.WakeLock.mTag
|
static String |
Build.PRODUCT
The name of the overall product. |
static String |
Build.VERSION.RELEASE
The user-visible version string. |
static String |
Build.VERSION.SDK
The user-visible SDK version of the framework. |
static String |
Build.TAGS
Comma-separated tags describing the build, like "unsigned,debug". |
static String |
Build.TYPE
The type of build, like "user" or "eng". |
static String |
Build.USER
|
| Fields in android.os with type parameters of type String | |
|---|---|
(package private) Map<String,Object> |
Bundle.mMap
|
HashMap<String,String> |
UEventObserver.UEvent.mMap
|
HashMap<String,String> |
UEventObserver.UEvent.mMap
|
static Parcelable.Creator<String> |
Parcel.STRING_CREATOR
|
| Methods in android.os that return String | |
|---|---|
(package private) static String |
Looper.HandlerException.createMessage(Throwable cause)
|
String[] |
Parcel.createStringArray()
|
String |
UEventObserver.UEvent.get(String key)
|
static String |
SystemProperties.get(String key)
Get the value for the given key. |
String |
UEventObserver.UEvent.get(String key,
String defaultValue)
|
static String |
SystemProperties.get(String key,
String def)
Get the value for the given key. |
static String |
Environment.getExternalStorageState()
Gets the current state of the external storage device. |
String |
IBinder.getInterfaceDescriptor()
Get the canonical name of the interface supported by this binder. |
String |
Binder.getInterfaceDescriptor()
Default implementation returns an empty interface name. |
String |
BinderProxy.getInterfaceDescriptor()
|
String |
HandlerStateMachine.getName()
|
String |
PatternMatcher.getPath()
|
String |
Bundle.getString(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
String[] |
Bundle.getStringArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
String[] |
IServiceManager.listServices()
Return a list of all currently running services. |
static String[] |
ServiceManager.listServices()
Return a list of all currently running services. |
String[] |
ServiceManagerProxy.listServices()
|
String |
Parcel.readString()
Read a string value from the parcel at the current dataPosition(). |
String[] |
Parcel.readStringArray()
Read and return a String[] object from the parcel. |
static String |
FileUtils.readTextFile(File file,
int max,
String ellipsis)
Read a text file into a String, optionally limiting the length. |
String |
Bundle.toString()
|
String |
PowerManager.WakeLock.toString()
|
String |
Looper.toString()
|
String |
UEventObserver.UEvent.toString()
|
String |
Message.toString()
|
String |
Handler.toString()
|
String |
PatternMatcher.toString()
|
String |
ParcelFileDescriptor.toString()
|
| Methods in android.os that return types with arguments of type String | |
|---|---|
ArrayList<String> |
Parcel.createStringArrayList()
Read and return a new ArrayList containing String objects from the parcel that was written with Parcel.writeStringList(java.util.List at the
current dataPosition(). |
abstract Map<String,? extends BatteryStats.Uid.Pkg> |
BatteryStats.Uid.getPackageStats()
Returns a mapping containing package statistics. |
abstract Map<String,? extends BatteryStats.Uid.Proc> |
BatteryStats.Uid.getProcessStats()
Returns a mapping containing process statistics. |
abstract Map<String,? extends BatteryStats.Uid.Pkg.Serv> |
BatteryStats.Uid.Pkg.getServiceStats()
Returns a mapping containing service statistics. |
ArrayList<String> |
Bundle.getStringArrayList(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
abstract Map<String,? extends BatteryStats.Uid.Wakelock> |
BatteryStats.Uid.getWakelockStats()
Returns a mapping containing wakelock statistics. |
Set<String> |
Bundle.keySet()
Returns a Set containing the Strings used as keys in this Bundle. |
| Methods in android.os with parameters of type String | ||
|---|---|---|
void |
TokenWatcher.acquire(IBinder token,
String tag)
Record that this token has been acquired. |
|
void |
IPowerManager.acquireWakeLock(int flags,
IBinder lock,
String tag)
|
|
static void |
Power.acquireWakeLock(int lock,
String id)
|
|
void |
IServiceManager.addService(String name,
IBinder service)
Place a new @a service called @a name into the service manager. |
|
static void |
ServiceManager.addService(String name,
IBinder service)
Place a new @a service called @a name into the service manager. |
|
void |
ServiceManagerProxy.addService(String name,
IBinder service)
|
|
void |
Binder.attachInterface(IInterface owner,
String descriptor)
Convenience method for associating a specific interface with the Binder. |
|
boolean |
IPermissionController.checkPermission(String permission,
int pid,
int uid)
|
|
IBinder |
IServiceManager.checkService(String name)
Retrieve an existing service called @a name from the service manager. |
|
static IBinder |
ServiceManager.checkService(String name)
Retrieve an existing service called @a name from the service manager. |
|
IBinder |
ServiceManagerProxy.checkService(String name)
|
|
boolean |
Bundle.containsKey(String key)
Returns true if the given key is contained in the mapping of this Bundle. |
|
static FileDescriptor |
Exec.createSubprocess(String cmd,
String arg0,
String arg1)
|
|
static FileDescriptor |
Exec.createSubprocess(String cmd,
String arg0,
String arg1,
int[] processId)
|
|
static byte[] |
Base64Utils.decodeBase64(String data)
|
|
protected void |
Binder.dump(FileDescriptor fd,
PrintWriter fout,
String[] args)
Print the object's state into the given stream. |
|
void |
Looper.dump(Printer pw,
String prefix)
|
|
void |
Handler.dump(Printer pw,
String prefix)
|
|
void |
BatteryStats.dumpLocked(FileDescriptor fd,
PrintWriter pw,
String[] args)
Dumps a human-readable summary of the battery statistics to the given PrintWriter. |
|
void |
Parcel.enforceInterface(String interfaceName)
|
|
Object |
Bundle.get(String key)
Returns the entry with the given key as an object. |
|
String |
UEventObserver.UEvent.get(String key)
|
|
static String |
SystemProperties.get(String key)
Get the value for the given key. |
|
String |
UEventObserver.UEvent.get(String key,
String defaultValue)
|
|
static String |
SystemProperties.get(String key,
String def)
Get the value for the given key. |
|
boolean |
Bundle.getBoolean(String key)
Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key. |
|
boolean |
Bundle.getBoolean(String key,
boolean defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
static boolean |
SystemProperties.getBoolean(String key,
boolean def)
Get the value for the given key, returned as a boolean. |
|
boolean[] |
Bundle.getBooleanArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
Bundle |
Bundle.getBundle(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
byte |
Bundle.getByte(String key)
Returns the value associated with the given key, or (byte) 0 if no mapping of the desired type exists for the given key. |
|
Byte |
Bundle.getByte(String key,
byte defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
byte[] |
Bundle.getByteArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
char |
Bundle.getChar(String key)
Returns the value associated with the given key, or false if no mapping of the desired type exists for the given key. |
|
char |
Bundle.getChar(String key,
char defaultValue)
Returns the value associated with the given key, or (char) 0 if no mapping of the desired type exists for the given key. |
|
char[] |
Bundle.getCharArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
CharSequence |
Bundle.getCharSequence(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
(package private) static File |
Environment.getDirectory(String variableName,
String defaultPath)
|
|
double |
Bundle.getDouble(String key)
Returns the value associated with the given key, or 0.0 if no mapping of the desired type exists for the given key. |
|
double |
Bundle.getDouble(String key,
double defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
double[] |
Bundle.getDoubleArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
static int |
FileUtils.getFatVolumeId(String mountPoint)
returns the FAT file system volume ID for the volume mounted at the given mount point, or -1 for failure |
|
static boolean |
FileUtils.getFileStatus(String path,
FileUtils.FileStatus status)
Get the status for the given path. |
|
float |
Bundle.getFloat(String key)
Returns the value associated with the given key, or 0.0f if no mapping of the desired type exists for the given key. |
|
float |
Bundle.getFloat(String key,
float defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
float[] |
Bundle.getFloatArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
static int |
Process.getGidForName(String name)
Returns the GID assigned to a particular user name, or -1 if there is none. |
|
IBinder |
Bundle.getIBinder(String key)
Deprecated. |
|
int |
Bundle.getInt(String key)
Returns the value associated with the given key, or 0 if no mapping of the desired type exists for the given key. |
|
int |
Bundle.getInt(String key,
int defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
static int |
SystemProperties.getInt(String key,
int def)
Get the value for the given key, and return as an integer. |
|
int[] |
Bundle.getIntArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
ArrayList<Integer> |
Bundle.getIntegerArrayList(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
long |
Bundle.getLong(String key)
Returns the value associated with the given key, or 0L if no mapping of the desired type exists for the given key. |
|
long |
Bundle.getLong(String key,
long defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
static long |
SystemProperties.getLong(String key,
long def)
Get the value for the given key, and return as a long. |
|
long[] |
Bundle.getLongArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
|
Bundle.getParcelable(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
Parcelable[] |
Bundle.getParcelableArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
|
Bundle.getParcelableArrayList(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
void |
ICheckinService.getParentalControlState(IParentalControlCallback p,
String requestingApp)
Determine if the device is under parental control. |
|
static int |
FileUtils.getPermissions(String file,
int[] outPermissions)
|
|
static int[] |
Process.getPids(String path,
int[] lastArray)
|
|
Serializable |
Bundle.getSerializable(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
IBinder |
IServiceManager.getService(String name)
Retrieve an existing service called @a name from the service manager. |
|
static IBinder |
ServiceManager.getService(String name)
Returns a reference to a service with the given name. |
|
IBinder |
ServiceManagerProxy.getService(String name)
|
|
short |
Bundle.getShort(String key)
Returns the value associated with the given key, or (short) 0 if no mapping of the desired type exists for the given key. |
|
short |
Bundle.getShort(String key,
short defaultValue)
Returns the value associated with the given key, or defaultValue if no mapping of the desired type exists for the given key. |
|
short[] |
Bundle.getShortArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
|
Bundle.getSparseParcelableArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
String |
Bundle.getString(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
String[] |
Bundle.getStringArray(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
ArrayList<String> |
Bundle.getStringArrayList(String key)
Returns the value associated with the given key, or null if no mapping of the desired type exists for the given key or a null value is explicitly associated with the key. |
|
static int |
Process.getUidForName(String name)
Returns the UID assigned to a particular user name, or -1 if there is none. |
|
boolean |
PatternMatcher.match(String str)
|
|
(package private) static boolean |
PatternMatcher.matchPattern(String pattern,
String match,
int type)
|
|
void |
IMountService.mountMedia(String mountPoint)
Mount external storage at given mount point. |
|
PowerManager.WakeLock |
PowerManager.newWakeLock(int flags,
String tag)
Get a wake lock at the level of the flags parameter. |
|
abstract void |
FileObserver.onEvent(int event,
String path)
|
|
(package private) static FileDescriptor |
Parcel.openFileDescriptor(String file,
int mode)
|
|
void |
Bundle.putBoolean(String key,
boolean value)
Inserts a Boolean value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putBooleanArray(String key,
boolean[] value)
Inserts a boolean array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putBundle(String key,
Bundle value)
Inserts a Bundle value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putByte(String key,
byte value)
Inserts a byte value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putByteArray(String key,
byte[] value)
Inserts a byte array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putChar(String key,
char value)
Inserts a char value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putCharArray(String key,
char[] value)
Inserts a char array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putCharSequence(String key,
CharSequence value)
Inserts a CharSequence value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putDouble(String key,
double value)
Inserts a double value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putDoubleArray(String key,
double[] value)
Inserts a double array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putFloat(String key,
float value)
Inserts a float value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putFloatArray(String key,
float[] value)
Inserts a float array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putIBinder(String key,
IBinder value)
Deprecated. |
|
void |
Bundle.putInt(String key,
int value)
Inserts an int value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putIntArray(String key,
int[] value)
Inserts an int array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putIntegerArrayList(String key,
ArrayList<Integer> value)
Inserts an ArrayList |
|
void |
Bundle.putLong(String key,
long value)
Inserts a long value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putLongArray(String key,
long[] value)
Inserts a long array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putParcelable(String key,
Parcelable value)
Inserts a Parcelable value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putParcelableArray(String key,
Parcelable[] value)
Inserts an array of Parcelable values into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putParcelableArrayList(String key,
ArrayList<? extends Parcelable> value)
Inserts a List of Parcelable values into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putSerializable(String key,
Serializable value)
Inserts a Serializable value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putShort(String key,
short value)
Inserts a short value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putShortArray(String key,
short[] value)
Inserts a short array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putSparseParcelableArray(String key,
SparseArray<? extends Parcelable> value)
Inserts a SparceArray of Parcelable values into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putString(String key,
String value)
Inserts a String value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putStringArray(String key,
String[] value)
Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putStringArray(String key,
String[] value)
Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key. |
|
void |
Bundle.putStringArrayList(String key,
ArrayList<String> value)
Inserts an ArrayList |
|
IInterface |
IBinder.queryLocalInterface(String descriptor)
Attempt to retrieve a local implementation of an interface for this Binder object. |
|
IInterface |
Binder.queryLocalInterface(String descriptor)
Use information supplied to attachInterface() to return the associated IInterface if it matches the requested descriptor. |
|
IInterface |
BinderProxy.queryLocalInterface(String descriptor)
|
|
void |
Parcel.readException(int code,
String msg)
Use this function for customized exception handling. |
|
static boolean |
Process.readProcFile(String file,
int[] format,
String[] outStrings,
long[] outLongs,
float[] outFloats)
|
|
static boolean |
Process.readProcFile(String file,
int[] format,
String[] outStrings,
long[] outLongs,
float[] outFloats)
|
|
static void |
Process.readProcLines(String path,
String[] reqFields,
long[] outSizes)
|
|
static void |
Process.readProcLines(String path,
String[] reqFields,
long[] outSizes)
|
|
void |
Parcel.readStringArray(String[] val)
|
|
static String |
FileUtils.readTextFile(File file,
int max,
String ellipsis)
Read a text file into a String, optionally limiting the length. |
|
static void |
Power.reboot(String reason)
Reboot the device. |
|
static void |
Power.releaseWakeLock(String id)
|
|
void |
Bundle.remove(String key)
Removes any entry with the given key from the mapping of this Bundle. |
|
void |
StatFs.restat(String path)
Perform a restat of the file system referenced by this object. |
|
static void |
SystemProperties.set(String key,
String val)
Set the value for the given key. |
|
static void |
Process.setArgV0(String text)
Change this process's argv[0] parameter. |
|
static int |
FileUtils.setPermissions(String file,
int mode,
int uid,
int gid)
|
|
void |
IPowerManager.setPokeLock(int pokey,
IBinder lock,
String tag)
|
|
static void |
SystemService.start(String name)
Request that the init daemon start a named service. |
|
static int |
Process.start(String processClass,
int uid,
int gid,
int[] gids,
int debugFlags,
String[] zygoteArgs)
Start a new process. |
|
static int |
Process.start(String processClass,
int uid,
int gid,
int[] gids,
int debugFlags,
String[] zygoteArgs)
Start a new process. |
|
static int |
Process.start(String processClass,
String niceName,
int uid,
int gid,
int[] gids,
int debugFlags,
String[] zygoteArgs)
Start a new process. |
|
static int |
Process.start(String processClass,
String niceName,
int uid,
int gid,
int[] gids,
int debugFlags,
String[] zygoteArgs)
Start a new process. |
|
static void |
Debug.startMethodTracing(String traceName)
Start method tracing, specifying the trace log file name. |
|
static void |
Debug.startMethodTracing(String traceName,
int bufferSize)
Start method tracing, specifying the trace log file name and the buffer size. |
|
static void |
Debug.startMethodTracing(String traceName,
int bufferSize,
int flags)
Start method tracing, specifying the trace log file name and the buffer size. |
|
void |
UEventObserver.startObserving(String match)
Begin observation of UEvent's. |
|
static void |
SystemService.stop(String name)
Request that the init daemon stop a named service. |
|
void |
IMountService.unmountMedia(String mountPoint)
Safely unmount external storage at given mount point. |
|
static AsyncTask.Status |
AsyncTask.Status.valueOf(String name)
Returns the enum constant of this type with the specified name. |
|
void |
Parcel.writeInterfaceToken(String interfaceName)
Store or read an IBinder interface token in the parcel at the current Parcel.dataPosition(). |
|
void |
Parcel.writeString(String val)
Write a string value into the parcel at the current dataPosition(), growing dataCapacity() if needed. |
|
void |
Parcel.writeStringArray(String[] val)
|
|
| Method parameters in android.os with type arguments of type String | |
|---|---|
static void |
ServiceManager.initServiceCache(Map<String,IBinder> cache)
This is only intended to be called when the process is first being brought up and bound by the activity manager. |
void |
Bundle.putStringArrayList(String key,
ArrayList<String> value)
Inserts an ArrayList |
void |
Parcel.readStringList(List<String> list)
Read into the given List items String objects that were written with Parcel.writeStringList(java.util.List at the current dataPosition(). |
void |
Parcel.writeStringList(List<String> val)
Flatten a List containing String objects into the parcel, at the current dataPosition() and growing dataCapacity() if needed. |
| Constructors in android.os with parameters of type String | |
|---|---|
BadParcelableException(String msg)
|
|
FileObserver(String path)
|
|
FileObserver(String path,
int mask)
|
|
HandlerStateMachine(String name)
Create an active StateMachine, one that has a dedicated thread/looper/queue. |
|
HandlerThread(String name)
|
|
HandlerThread(String name,
int priority)
Constructs a HandlerThread. |
|
MailboxNotAvailableException(String s)
|
|
MemoryFile(String name,
int length)
MemoryFile constructor. |
|
ParcelFormatException(String reason)
|
|
PatternMatcher(String pattern,
int type)
|
|
PowerManager.WakeLock(int flags,
String tag)
|
|
RemoteMailException(String s)
|
|
StatFs(String path)
Construct a new StatFs for looking at the stats of the filesystem at path. |
|
TokenWatcher(Handler h,
String tag)
Construct the TokenWatcher |
|
UEventObserver.UEvent(String message)
|
|
ZygoteStartFailedEx(String s)
|
|
| Uses of String in android.pim |
|---|
| Fields in android.pim declared as String | |
|---|---|
static String |
ICalendar.Property.DTEND
|
static String |
ICalendar.Property.DTSTART
|
static String |
ICalendar.Property.DURATION
|
static String |
ICalendar.Property.EXDATE
|
static String |
ICalendar.Property.EXRULE
|
String |
ICalendar.Parameter.name
|
static String |
ICalendar.Property.RDATE
|
static String |
ICalendar.Property.RRULE
|
String |
EventRecurrence.until
|
static String |
ICalendar.Component.VALARM
|
String |
ICalendar.Parameter.value
|
static String |
ICalendar.Component.VCALENDAR
|
static String |
ICalendar.Component.VEVENT
|
static String |
ICalendar.Component.VFREEBUSY
|
static String |
ICalendar.Component.VJOURNAL
|
static String |
ICalendar.Component.VTIMEZONE
|
static String |
ICalendar.Component.VTODO
|
| Methods in android.pim that return String | |
|---|---|
String |
ICalendar.Component.getName()
Returns the name of the component. |
String |
ICalendar.Property.getName()
Returns the name of the property. |
String |
EventRecurrence.getRepeatString()
|
String |
ICalendar.Property.getValue()
Returns the value of this property. |
String |
ICalendar.Component.toString()
|
String |
ICalendar.Property.toString()
|
String |
ICalendar.Parameter.toString()
|
String |
EventRecurrence.toString()
|
| Methods in android.pim that return types with arguments of type String | |
|---|---|
Set<String> |
ICalendar.Property.getParameterNames()
Returns the set of parameter names for this property. |
Set<String> |
ICalendar.Component.getPropertyNames()
Returns a set of the property names within this component. |
| Methods in android.pim with parameters of type String | |
|---|---|
ICalendar.Parameter |
ICalendar.Property.getFirstParameter(String name)
Returns the first parameter with the specified name. |
ICalendar.Property |
ICalendar.Component.getFirstProperty(String name)
Returns the first property with the specified name. |
List<ICalendar.Parameter> |
ICalendar.Property.getParameters(String name)
Returns the list of parameters with the specified name. |
List<ICalendar.Property> |
ICalendar.Component.getProperties(String name)
Returns a list of properties with the specified name. |
void |
EventRecurrence.parse(String recur)
Parse an iCalendar/RFC2445 recur type according to Section 4.3.10. |
static ICalendar.Component |
ICalendar.parseCalendar(String text)
Parses the provided text into an iCalendar object. |
static ICalendar.Component |
ICalendar.parseComponent(ICalendar.Component component,
String text)
Parses the provided text, adding to the provided component. |
static ICalendar.Component |
ICalendar.parseComponent(String text)
Parses the provided text into an iCalendar component. |
static ICalendar.Component |
ICalendar.parseEvent(String text)
Parses the provided text into an iCalendar event. |
static long[] |
RecurrenceSet.parseRecurrenceDates(String recurrence)
Parses the provided RDATE or EXDATE string into an array of longs representing each date/time in the recurrence. |
void |
ICalendar.Property.setValue(String value)
Sets the value of this property. |
| Constructors in android.pim with parameters of type String | |
|---|---|
DateException(String message)
|
|
EventRecurrence.InvalidFormatException(String s)
|
|
ICalendar.Component(String name,
ICalendar.Component parent)
Creates a new component with the provided name. |
|
ICalendar.FormatException(String msg)
|
|
ICalendar.FormatException(String msg,
Throwable cause)
|
|
ICalendar.Parameter(String name,
String value)
Creates a new parameter with the specified name and value. |
|
ICalendar.Property(String name)
Creates a new property with the provided name. |
|
ICalendar.Property(String name,
String value)
Creates a new property with the provided name and value. |
|
RecurrenceSet(String rruleStr,
String rdateStr,
String exruleStr,
String exdateStr)
|
|
| Uses of String in android.preference |
|---|
| Fields in android.preference declared as String | |
|---|---|
static String |
PreferenceManager.KEY_HAS_SET_DEFAULT_VALUES
|
static String |
PreferenceManager.METADATA_KEY_PREFERENCES
The Activity meta-data key for its XML preference hierarchy. |
| Methods in android.preference that return String | |
|---|---|
String |
GenericInflater.getDefaultPackage()
Returns the default package, or null if it is not set. |
String |
Preference.getDependency()
Returns the key of the dependency on this Preference. |
String |
Preference.getKey()
Gets the key for this Preference, which is also the key used for storing values into SharedPreferences. |
protected String |
Preference.getPersistedString(String defaultReturnValue)
Attempts to get a persisted String from the SharedPreferences. |
String |
PreferenceManager.getSharedPreferencesName()
Returns the current name of the SharedPreferences file that preferences managed by this will use. |
String |
EditTextPreference.getText()
Gets the text from the SharedPreferences. |
String |
ListPreference.getValue()
Returns the value of the key. |
String |
Preference.toString()
|
| Methods in android.preference with parameters of type String | |
|---|---|
T |
GenericInflater.createItem(String name,
String prefix,
AttributeSet attrs)
Low-level function for instantiating by name. |
int |
ListPreference.findIndexOfValue(String value)
Returns the index of the given value (in the entry values array). |
protected Preference |
Preference.findPreferenceInHierarchy(String key)
Finds a Preference in this hierarchy (the whole thing, even above/below your PreferenceScreen screen break) with the given
key. |
protected String |
Preference.getPersistedString(String defaultReturnValue)
Attempts to get a persisted String from the SharedPreferences. |
protected T |
GenericInflater.onCreateItem(String name,
AttributeSet attrs)
This routine is responsible for creating the correct subclass of item given the xml element name. |
T |
GenericInflater.Factory.onCreateItem(String name,
Context context,
AttributeSet attrs)
Hook you can supply that is called when inflating from a inflater. |
protected boolean |
Preference.persistString(String value)
Attempts to persist a String to the SharedPreferences. |
void |
GenericInflater.setDefaultPackage(String defaultPackage)
Sets the default package that will be searched for classes to construct for tag names that have no explicit package. |
static void |
PreferenceManager.setDefaultValues(Context context,
String sharedPreferencesName,
int sharedPreferencesMode,
int resId,
boolean readAgain)
Similar to PreferenceManager.setDefaultValues(Context, int, boolean) but allows
the client to provide the filename and mode of the shared preferences
file. |
void |
Preference.setDependency(String dependencyKey)
Sets the key of a Preference that this Preference will depend on. |
void |
Preference.setKey(String key)
Sets the key for this Preference, which is used as a key to the SharedPreferences. |
void |
PreferenceManager.setSharedPreferencesName(String sharedPreferencesName)
Sets the name of the SharedPreferences file that preferences managed by this will use. |
void |
EditTextPreference.setText(String text)
Saves the text to the SharedPreferences. |
void |
ListPreference.setValue(String value)
Sets the value of the key. |
| Uses of String in android.provider |
|---|
| Fields in android.provider declared as String | |
|---|---|
static String |
BaseColumns._COUNT
The count of rows in a directory. |
static String |
Telephony.Mms.Part._DATA
The location(on filesystem) of the binary data of the part. |
static String |
Downloads._DATA
The name of the column containing the filename where the downloaded data was actually stored. |
static String |
UserDictionary.Words._ID
|
static String |
BaseColumns._ID
The unique ID for a row. |
static String |
MediaStore.Audio.Playlists.Members._ID
The ID within the playlist. |
static String |
Contacts.SettingsColumns._SYNC_ACCOUNT
The _SYNC_ACCOUNT to which this setting corresponds. |
static String |
SyncConstValue._SYNC_ACCOUNT
The account that was used to sync the entry to the device. |
static String |
SubscribedFeeds.AccountColumns._SYNC_ACCOUNT
The account. |
static String |
SyncConstValue._SYNC_DIRTY
Used to indicate that local, unsynced, changes are present. |
static String |
SyncConstValue._SYNC_ID
The unique ID for a row assigned by the sync source. |
static String |
SyncConstValue._SYNC_LOCAL_ID
Used in temporary provider while syncing, always NULL for rows in persistent providers. |
static String |
SyncConstValue._SYNC_MARK
Used only in persistent providers, and only during merging. |
static String |
SyncConstValue._SYNC_TIME
The last time, from the sync source's point of view, that this row has been synchronized. |
static String |
SyncConstValue._SYNC_VERSION
The version of the row, as assigned by the server. |
static String |
Settings.System.ACCELEROMETER_ROTATION
Control whether the accelerometer will be used to change screen orientation. |
static String |
Calendar.CalendarsColumns.ACCESS_LEVEL
The level of access that the user has for the calendar |
static String |
Im.AccountStatusColumns.ACCOUNT
account id |
static String |
Im.ContactsColumns.ACCOUNT
The account (within a IM provider) for this contact |
static String |
Im.ContactListColumns.ACCOUNT
|
static String |
Im.BlockedListColumns.ACCOUNT
The account id of the blocked contact. |
static String |
Im.ContactsEtagColumns.ACCOUNT
The account id for the etag. |
static String |
Im.MessagesColumns.ACCOUNT
The account id |
static String |
Im.InvitationColumns.ACCOUNT
The account id. |
static String |
Im.AvatarsColumns.ACCOUNT
|
static String |
Im.SessionCookiesColumns.ACCOUNT
|
static String |
Sync.StatsColumns.ACCOUNT
The sync account. |
static String |
Im.Provider.ACCOUNT_CONNECTION_STATUS
|
static String |
Im.ContactList.ACCOUNT_NAME
|
static String |
Im.BlockedList.ACCOUNT_NAME
|
static String |
Im.Provider.ACCOUNT_PRESENCE_STATUS
|
static String |
Checkin.TriggerIntent.ACTION
|
static String |
Contacts.Intents.Insert.ACTION
The action code to use when adding a contact |
static String |
Settings.ACTION_AIRPLANE_MODE_SETTINGS
Activity Action: Show settings to allow entering/exiting airplane mode. |
static String |
Settings.ACTION_APN_SETTINGS
Activity Action: Show settings to allow configuration of APNs. |
static String |
Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS
Activity Action: Show settings to allow configuration of application development-related settings. |
static String |
Settings.ACTION_APPLICATION_SETTINGS
Activity Action: Show settings to allow configuration of application-related settings. |
static String |
Settings.ACTION_BLUETOOTH_SETTINGS
Activity Action: Show settings to allow configuration of Bluetooth. |
static String |
LiveFolders.ACTION_CREATE_LIVE_FOLDER
Activity Action: Creates a live folder. |
static String |
Settings.ACTION_DATA_ROAMING_SETTINGS
Activity Action: Show settings for selection of 2G/3G. |
static String |
Settings.ACTION_DATE_SETTINGS
Activity Action: Show settings to allow configuration of date and time. |
static String |
Settings.ACTION_DISPLAY_SETTINGS
Activity Action: Show settings to allow configuration of display. |
static String |
Downloads.ACTION_DOWNLOAD_COMPLETED
Broadcast Action: this is sent by the download manager to the app that had initiated a download when that download completes. |
static String |
MediaStore.ACTION_IMAGE_CAPTURE
Standard Intent action that can be sent to have the media application capture an image and return it. |
static String |
Settings.ACTION_INTERNAL_STORAGE_SETTINGS
Activity Action: Show settings for internal storage. |
static String |
Settings.ACTION_LOCALE_SETTINGS
Activity Action: Show settings to allow configuration of locale. |
static String |
Settings.ACTION_LOCATION_SOURCE_SETTINGS
Activity Action: Show settings to allow configuration of current location sources. |
static String |
Settings.ACTION_MANAGE_APPLICATIONS_SETTINGS
Activity Action: Show settings to manage installed applications. |
static String |
Settings.ACTION_MEMORY_CARD_SETTINGS
Activity Action: Show settings for memory card storage. |
static String |
Settings.ACTION_NETWORK_OPERATOR_SETTINGS
Activity Action: Show settings for selecting the network operator. |
static String |
Downloads.ACTION_NOTIFICATION_CLICKED
Broadcast Action: this is sent by the download manager to the app that had initiated a download when the user selects the notification associated with that download. |
static String |
Settings.ACTION_QUICK_LAUNCH_SETTINGS
Activity Action: Show settings to allow configuration of quick launch shortcuts. |
static String |
Settings.ACTION_SECURITY_SETTINGS
Activity Action: Show settings to allow configuration of security and location privacy. |
static String |
Settings.ACTION_SETTINGS
Activity Action: Show system settings. |
static String |
Settings.ACTION_SOUND_SETTINGS
Activity Action: Show settings to allow configuration of sound and volume. |
static String |
Settings.ACTION_SYNC_SETTINGS
Activity Action: Show settings to allow configuration of sync settings. |
static String |
Settings.ACTION_SYSTEM_UPDATE_SETTINGS
Activity Action: Show settings for system update functionality. |
static String |
MediaStore.ACTION_VIDEO_CAPTURE
Standard Intent action that can be sent to have the media application capture an video and return it. |
static String |
Settings.ACTION_WIFI_IP_SETTINGS
Activity Action: Show settings to allow configuration of a static IP address for Wi-Fi. |
static String |
Settings.ACTION_WIFI_SETTINGS
Activity Action: Show settings to allow configuration of Wi-Fi. |
static String |
Settings.ACTION_WIRELESS_SETTINGS
Activity Action: Show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks. |
static String |
Im.AccountColumns.ACTIVE
A boolean value indicates if the account is active. |
static String |
Im.Provider.ACTIVE_ACCOUNT_ID
|
static String |
Im.Provider.ACTIVE_ACCOUNT_LOCKED
|
static String |
Im.Provider.ACTIVE_ACCOUNT_PW
|
static String |
Im.Provider.ACTIVE_ACCOUNT_USERNAME
|
static String |
Telephony.BaseMmsColumns.ADAPTATION_ALLOWED
The adaptation-allowed of the message. |
static String |
Settings.System.ADB_ENABLED
Deprecated. Use Settings.Secure.LOCATION_PROVIDERS_ALLOWED
instead |
static String |
Settings.Secure.ADB_ENABLED
Whether ADB is enabled. |
static String |
Telephony.TextBasedSmsColumns.ADDRESS
The address of the other party |
static String |
Telephony.CanonicalAddressesColumns.ADDRESS
An address used in MMS or SMS. |
static String |
Telephony.Mms.Addr.ADDRESS
The address text. |
static String |
Im.ProviderNames.AIM
|
static String |
Im.ProviderCategories.AIM
|
static String |
Settings.System.AIRPLANE_MODE_ON
Whether Airplane Mode is on. |
static String |
Settings.System.AIRPLANE_MODE_RADIOS
A comma separated list of radios that need to be disabled when airplane mode is on. |
static String |
Calendar.CalendarAlertsColumns.ALARM_TIME
The alarm time of the event, in UTC |
static String |
MediaStore.Audio.AudioColumns.ALBUM
The album the audio file is from, if any |
static String |
MediaStore.Audio.AlbumColumns.ALBUM
The album on which the audio file appears, if any |
static String |
MediaStore.Video.VideoColumns.ALBUM
The album the video file is from, if any |
static String |
MediaStore.Audio.AudioColumns.ALBUM_ART
A URI to the album art, if any |
static String |
MediaStore.Audio.AlbumColumns.ALBUM_ART
Cached album art. |
static String |
MediaStore.Audio.AudioColumns.ALBUM_ID
The id of the album the audio file is from, if any |
static String |
MediaStore.Audio.AlbumColumns.ALBUM_ID
The id for the album |
static String |
MediaStore.Audio.AudioColumns.ALBUM_KEY
A non human readable key calculated from the ALBUM, used for searching, sorting and grouping |
static String |
MediaStore.Audio.AlbumColumns.ALBUM_KEY
A non human readable key calculated from the ALBUM, used for searching, sorting and grouping |
static String |
Calendar.EventsColumns.ALL_DAY
Whether the event lasts all day or not |
static String |
Calendar.BusyBitsColumns.ALL_DAY_COUNT
The number of all-day events that occur on this day. |
static String |
Settings.Secure.ALLOW_MOCK_LOCATION
Setting to allow mock locations and location provider status to be injected into the LocationManager service for testing purposes during application development. |
static String |
Settings.System.ALWAYS_FINISH_ACTIVITIES
If 1, the activity manager will aggressively finish activities and processes as soon as they are no longer needed. |
static String |
Settings.System.ANDROID_ID
Deprecated. Use Settings.Secure.ANDROID_ID instead |
static String |
Settings.Secure.ANDROID_ID
The Android ID (a unique 64-bit value) as a hex string. |
static String |
Telephony.Carriers.APN
|
static String |
UserDictionary.Words.APP_ID
The uid of the application that inserted the word. |
static String |
Settings.System.APPEND_FOR_LAST_AUDIBLE
Appended to various volume related settings to record the previous values before they the settings were affected by a silent/vibrate ringer mode change. |
static String |
Telephony.BaseMmsColumns.APPLIC_ID
The applic-id of the message. |
static String |
MediaStore.Audio.AudioColumns.ARTIST
The artist who created the audio file, if any |
static String |
MediaStore.Audio.ArtistColumns.ARTIST
The artist who created the audio file, if any |
static String |
MediaStore.Audio.AlbumColumns.ARTIST
The artist whose songs appear on this album |
static String |
MediaStore.Video.VideoColumns.ARTIST
The artist who created the video file, if any |
static String |
MediaStore.Audio.AudioColumns.ARTIST_ID
The id of the artist who created the audio file, if any |
static String |
MediaStore.Audio.AudioColumns.ARTIST_KEY
A non human readable key calculated from the ARTIST, used for searching, sorting and grouping |
static String |
MediaStore.Audio.ArtistColumns.ARTIST_KEY
A non human readable key calculated from the ARTIST, used for searching, sorting and grouping |
static String |
Contacts.Intents.ATTACH_IMAGE
Starts an Activity that lets the user pick a contact to attach an image to. |
static String |
Gmail.ATTACHMENT_INFO_SEPARATOR
Separates attachment info parts in strings in the database. |
static String |
Calendar.AttendeesColumns.ATTENDEE_EMAIL
The email address of the attendee. |
static String |
Calendar.AttendeesColumns.ATTENDEE_NAME
The name of the attendee. |
static String |
Calendar.AttendeesColumns.ATTENDEE_RELATIONSHIP
The relationship of the attendee to the user. |
static String |
Calendar.AttendeesColumns.ATTENDEE_STATUS
The attendance status of the attendee. |
static String |
Calendar.AttendeesColumns.ATTENDEE_TYPE
The type of attendee. |
static String |
MediaStore.Audio.Genres.Members.AUDIO_ID
The ID of the audio file |
static String |
MediaStore.Audio.Playlists.Members.AUDIO_ID
The ID of the audio file |
static String |
UserDictionary.AUTHORITY
|
static String |
Settings.AUTHORITY
|
static String |
Checkin.AUTHORITY
|
static String |
Contacts.AUTHORITY
|
static String |
CallLog.AUTHORITY
|
static String |
Gmail.AUTHORITY
|
static String |
MediaStore.AUTHORITY
|
static String |
Sync.StatsColumns.AUTHORITY
The content authority (contacts, calendar, etc.). |
static String |
SubscribedFeeds.FeedColumns.AUTHORITY
The authority that cares about the feed. |
static String |
DrmStore.AUTHORITY
|
static String |
Calendar.AUTHORITY
|
static String |
Settings.System.AUTO_TIME
Value to specify if the user prefers the date, time and time zone to be automatically fetched from the network (NITZ). |
static String |
Telephony.BaseMmsColumns.AUX_APPLIC_ID
The aux-applic-id of the message. |
static String |
Contacts.ContactMethodsColumns.AUX_DATA
Auxiliary data for the contact method. |
static String |
Im.Contacts.AVATAR_DATA
|
static String |
Im.BlockedList.AVATAR_DATA
|
static String |
Im.Contacts.AVATAR_HASH
|
static String |
Telephony.BaseMmsColumns.BCC
The address of the bcc. |
static String |
Gmail.MessageColumns.BCC
|
static String |
Calendar.Instances.BEGIN
The beginning time of the instance, in UTC milliseconds |
static String |
Calendar.CalendarAlertsColumns.BEGIN
The start time of the event, in UTC |
static String |
Settings.System.BLUETOOTH_DISCOVERABILITY
Determines whether remote devices may discover and/or connect to this device. |
static String |
Settings.System.BLUETOOTH_DISCOVERABILITY_TIMEOUT
Bluetooth discoverability timeout. |
static String |
Settings.System.BLUETOOTH_ON
Deprecated. Use Settings.Secure.BLUETOOTH_ON instead |
static String |
Settings.Secure.BLUETOOTH_ON
Whether bluetooth is enabled/disabled 0=disabled. |
static String |
Telephony.TextBasedSmsColumns.BODY
The body of the message |
static String |
Im.BaseMessageColumns.BODY
The body |
static String |
Gmail.MessageColumns.BODY
|
static String |
Browser.BookmarkColumns.BOOKMARK
|
static String |
MediaStore.Video.VideoColumns.BOOKMARK
The bookmark for the video. |
static String |
MediaStore.Images.ImageColumns.BUCKET_DISPLAY_NAME
The bucket display name of the image. |
static String |
MediaStore.Video.VideoColumns.BUCKET_DISPLAY_NAME
The bucket display name of the video. |
static String |
MediaStore.Images.ImageColumns.BUCKET_ID
The bucket id of the image. |
static String |
MediaStore.Video.VideoColumns.BUCKET_ID
The bucket id of the video. |
static String |
Calendar.BusyBitsColumns.BUSYBITS
The 24 bits representing the 24 1-hour time slots in a day. |
static String |
CallLog.Calls.CACHED_NAME
The cached name associated with the phone number, if it exists. |
static String |
CallLog.Calls.CACHED_NUMBER_LABEL
The cached number label, for a custom number type, associated with the phone number, if it exists. |
static String |
CallLog.Calls.CACHED_NUMBER_TYPE
The cached number type (Home, Work, etc) associated with the phone number, if it exists. |
static String |
Calendar.EventsColumns.CALENDAR_ID
The calendar the event belongs to |
static String |
Telephony.BaseMmsColumns.CANCEL_ID
The cancel-id of the message. |
static String |
Telephony.BaseMmsColumns.CANCEL_STATUS
The cancel-status of the message. |
static String |
Gmail.LabelColumns.CANONICAL_NAME
|
static String |
Im.ProviderColumns.CATEGORY
The category for the provider, used to form intent. |
static String |
Checkin.TriggerIntent.CATEGORY
|
static String |
MediaStore.Video.VideoColumns.CATEGORY
The YouTube category of the video |
static String |
Telephony.BaseMmsColumns.CC
The address of the cc. |
static String |
Gmail.MessageColumns.CC
|
static String |
Settings.Gservices.CHANGED_ACTION
Intent action broadcast when the Gservices table is updated by the server. |
static String |
Telephony.Mms.Addr.CHARSET
Character set of this entry. |
static String |
Telephony.Mms.Part.CHARSET
The charset of the part. |
static String |
Im.Contacts.CHATS_CONTACT
|
static String |
Settings.Gservices.CHECKIN_EVENTS
Event tags from the kernel event log to upload during checkin. |
static String |
Settings.Gservices.CHECKIN_INTERVAL
The interval (in seconds) between periodic checkin attempts. |
static String |
Im.PresenceColumns.CLIENT_TYPE
The contact's client type |
static String |
Calendar.CalendarsColumns.COLOR
The color of the calendar |
static String |
Downloads.COLUMN_APP_DATA
The name of the column containing application-specific data. |
static String |
Downloads.COLUMN_CONTROL
The name of the column containing the current control state of the download. |
static String |
Downloads.COLUMN_COOKIE_DATA
The name of the column contain the values of the cookie to be used for the download. |
static String |
Downloads.COLUMN_CURRENT_BYTES
The name of the column containing the size of the part of the file that has been downloaded so far. |
static String |
Downloads.COLUMN_DESCRIPTION
The name of the column where the initiating application can provide the description of this download. |
static String |
Downloads.COLUMN_DESTINATION
The name of the column containing the flag that controls the destination of the download. |
static String |
Downloads.COLUMN_FILE_NAME_HINT
The name of the column containing the filename that the initiating application recommends. |
static String |
Downloads.COLUMN_LAST_MODIFICATION
The name of the column containing the date at which some interesting status changed in the download. |
static String |
Downloads.COLUMN_MIME_TYPE
The name of the column containing the MIME type of the downloaded data. |
static String |
Downloads.COLUMN_NO_INTEGRITY
The name of the column containing the flags that indicates whether the initiating application is capable of verifying the integrity of the downloaded file. |
static String |
Downloads.COLUMN_NOTIFICATION_CLASS
The name of the column containing the component name of the class that will receive notifications associated with the download. |
static String |
Downloads.COLUMN_NOTIFICATION_EXTRAS
If extras are specified when requesting a download they will be provided in the intent that is sent to the specified class and package when a download has finished. |
static String |
Downloads.COLUMN_NOTIFICATION_PACKAGE
The name of the column containing the package name of the application that initiating the download. |
static String |
Downloads.COLUMN_OTHER_UID
The name of the column where the initiating application can provide the UID of another application that is allowed to access this download. |
static String |
Downloads.COLUMN_REFERER
The name of the column containing the referer (sic) that the initiating application wants the download manager to use for this download. |
static String |
Downloads.COLUMN_STATUS
The name of the column containing the current status of the download. |
static String |
Downloads.COLUMN_TITLE
The name of the column where the initiating application can provided the title of this download. |
static String |
Downloads.COLUMN_TOTAL_BYTES
The name of the column containing the total size of the file being downloaded. |
static String |
Downloads.COLUMN_URI
The name of the column containing the URI of the data being downloaded. |
static String |
Downloads.COLUMN_USER_AGENT
The name of the column containing the user agent that the initiating application wants the download manager to use for this download. |
static String |
Downloads.COLUMN_VISIBILITY
The name of the column containing the flags that controls whether the download is displayed by the UI. |
static String |
Gmail.COMMAND_ACTIVATE
|
static String |
Gmail.COMMAND_RESPONSE_OK
|
static String |
Gmail.COMMAND_RESPONSE_UNKNOWN
|
static String |
Gmail.COMMAND_RETRY
|
static String |
Gmail.COMMAND_SET_VISIBLE
|
static String |
Calendar.EventsColumns.COMMENTS_URI
The comments feed uri. |
static String |
Contacts.OrganizationColumns.COMPANY
The name of the company for this organization. |
static String |
Contacts.Intents.Insert.COMPANY
The extra field for the contact company. |
static String |
MediaStore.Audio.AudioColumns.COMPOSER
The composer of the audio file, if any |
static String |
Im.AccountStatusColumns.CONNECTION_STATUS
The connection status of this account, see {#link ConnectionStatus} |
static String |
Im.BaseMessageColumns.CONTACT
The user this message belongs to |
static String |
Im.AvatarsColumns.CONTACT
The contact this avatar belongs to |
static String |
Telephony.Mms.Addr.CONTACT_ID
The ID of contact entry in Phone Book. |
static String |
Im.PresenceColumns.CONTACT_ID
The contact id |
static String |
Im.ChatsColumns.CONTACT_ID
The contact ID this chat belongs to. |
static String |
Im.ContactsColumns.CONTACTLIST
The contactList this contact belongs to |
static String |
Telephony.Mms.Intents.CONTENT_CHANGED_ACTION
Indicates that the contents of specified URIs were changed. |
static String |
Telephony.BaseMmsColumns.CONTENT_CLASS
The content-class of the message. |
static String |
Contacts.Settings.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
Contacts.People.Phones.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
Contacts.People.ContactMethods.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
Contacts.People.Extensions.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
Contacts.GroupMembership.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
Contacts.Organizations.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
Contacts.Photos.CONTENT_DIRECTORY
The directory twig for this sub-table |
static String |
MediaStore.Audio.Genres.Members.CONTENT_DIRECTORY
A subdirectory of each genre containing all member audio files. |
static String |
MediaStore.Audio.Playlists.Members.CONTENT_DIRECTORY
A subdirectory of each playlist containing all member audio files. |
static String |
Telephony.Mms.Part.CONTENT_DISPOSITION
The content disposition of the part. |
static String |
Contacts.ContactMethods.CONTENT_EMAIL_ITEM_TYPE
The MIME type of a Contacts.ContactMethods.CONTENT_URI sub-directory of a single
Contacts.KIND_EMAIL entry. |
static String |
Contacts.ContactMethods.CONTENT_EMAIL_TYPE
The MIME type of a Contacts.ContactMethods.CONTENT_EMAIL_URI sub-directory of\
multiple Contacts.KIND_EMAIL entries. |
static String |
Telephony.Mms.Part.CONTENT_ID
The content ID of the part. |
static String |
Contacts.ContactMethods.CONTENT_IM_ITEM_TYPE
The MIME type of a Contacts.ContactMethods.CONTENT_URI sub-directory of a single
Contacts.KIND_IM entry. |
static String |
UserDictionary.Words.CONTENT_ITEM_TYPE
The MIME type of a UserDictionary.Words.CONTENT_URI sub-directory of a single word. |
static String |
Im.Provider.CONTENT_ITEM_TYPE
|
static String |
Im.Account.CONTENT_ITEM_TYPE
The MIME type of a Im.Account.CONTENT_URI subdirectory of a single
account. |
static String |
Im.AccountStatus.CONTENT_ITEM_TYPE
The MIME type of a Im.AccountStatus.CONTENT_URI subdirectory of a single account status. |
static String |
Im.Contacts.CONTENT_ITEM_TYPE
The MIME type of a Im.Contacts.CONTENT_URI subdirectory of a single
person. |
static String |
Im.ContactList.CONTENT_ITEM_TYPE
The MIME type of a Im.ContactList.CONTENT_URI subdirectory of a single
person. |
static String |
Im.BlockedList.CONTENT_ITEM_TYPE
The MIME type of a Im.BlockedList.CONTENT_URI subdirectory of a single
person. |
static String |
Im.ContactsEtag.CONTENT_ITEM_TYPE
The MIME type of a Im.ContactsEtag.CONTENT_URI subdirectory of a single
person. |
static String |
Im.Messages.CONTENT_ITEM_TYPE
The MIME type of a Im.Messages.CONTENT_URI subdirectory of a single
person. |
static String |
Im.GroupMembers.CONTENT_ITEM_TYPE
The MIME type of a Im.GroupMembers.CONTENT_URI subdirectory of a single
group member. |
static String |
Im.Invitation.CONTENT_ITEM_TYPE
The MIME type of a Im.Invitation.CONTENT_URI subdirectory of a single
invitation. |
static String |
Im.GroupMessages.CONTENT_ITEM_TYPE
The MIME type of a Im.GroupMessages.CONTENT_URI subdirectory of a single
group message. |
static String |
Im.Avatars.CONTENT_ITEM_TYPE
The MIME type of a Im.Avatars.CONTENT_URI |
static String |
Im.Chats.CONTENT_ITEM_TYPE
The MIME type of a Im.Chats.CONTENT_URI subdirectory of a single chat. |
static String |
Contacts.People.CONTENT_ITEM_TYPE
The MIME type of a Contacts.People.CONTENT_URI subdirectory of a single
person. |
static String |
Contacts.Groups.CONTENT_ITEM_TYPE
The MIME type of a Contacts.Groups.CONTENT_URI subdirectory of a single
group. |
static String |
Contacts.Phones.CONTENT_ITEM_TYPE
The MIME type of a Contacts.Phones.CONTENT_URI subdirectory of a single
phone. |
static String |
Contacts.GroupMembership.CONTENT_ITEM_TYPE
The MIME type of a Contacts.GroupMembership.CONTENT_URI subdirectory of a single
person group. |
static String |
Contacts.Extensions.CONTENT_ITEM_TYPE
The MIME type of a Contacts.Extensions.CONTENT_URI subdirectory of a single
phone. |
static String |
CallLog.Calls.CONTENT_ITEM_TYPE
The MIME type of a CallLog.Calls.CONTENT_URI sub-directory of a single
call. |
static String |
SubscribedFeeds.Feeds.CONTENT_ITEM_TYPE
The MIME type of a SubscribedFeeds.Feeds.CONTENT_URI subdirectory of a single
subscribed feed. |
static String |
SubscribedFeeds.Accounts.CONTENT_ITEM_TYPE
The MIME type of a SubscribedFeeds.Accounts.CONTENT_URI subdirectory of a single
account in the subscribed feeds. |
static String |
Telephony.BaseMmsColumns.CONTENT_LOCATION
The Content-Location of the message. |
static String |
Telephony.Mms.Part.CONTENT_LOCATION
The content location of the part. |
static String |
Contacts.ContactMethods.CONTENT_POSTAL_ITEM_TYPE
The MIME type of a Contacts.ContactMethods.CONTENT_URI sub-directory of a single
Contacts.KIND_POSTAL entry. |
static String |
Contacts.ContactMethods.CONTENT_POSTAL_TYPE
The MIME type of a Contacts.ContactMethods.CONTENT_EMAIL_URI sub-directory of\
multiple Contacts.KIND_POSTAL entries. |
static String |
Telephony.BaseMmsColumns.CONTENT_TYPE
The Content-Type of the message. |
static String |
Telephony.Mms.Part.CONTENT_TYPE
The content type of the part. |
static String |
UserDictionary.Words.CONTENT_TYPE
The MIME type of UserDictionary.Words.CONTENT_URI providing a directory of words. |
static String |
Im.Provider.CONTENT_TYPE
The MIME type of Im.Provider.CONTENT_URI providing a directory of
people. |
static String |
Im.Account.CONTENT_TYPE
The MIME type of Im.Account.CONTENT_URI providing a directory of
account. |
static String |
Im.AccountStatus.CONTENT_TYPE
The MIME type of Im.AccountStatus.CONTENT_URI providing a directory of account status. |
static String |
Im.Contacts.CONTENT_TYPE
The MIME type of Im.Contacts.CONTENT_URI providing a directory of
people. |
static String |
Im.ContactList.CONTENT_TYPE
The MIME type of Im.ContactList.CONTENT_URI providing a directory of
people. |
static String |
Im.BlockedList.CONTENT_TYPE
The MIME type of Im.BlockedList.CONTENT_URI providing a directory of
people. |
static String |
Im.ContactsEtag.CONTENT_TYPE
The MIME type of Im.ContactsEtag.CONTENT_URI providing a directory of
people. |
static String |
Im.Messages.CONTENT_TYPE
The MIME type of Im.Messages.CONTENT_URI providing a directory of
people. |
static String |
Im.GroupMembers.CONTENT_TYPE
The MIME type of Im.GroupMembers.CONTENT_URI providing a directory of
group members. |
static String |
Im.Invitation.CONTENT_TYPE
The MIME type of Im.Invitation.CONTENT_URI providing a directory of
invitations. |
static String |
Im.GroupMessages.CONTENT_TYPE
The MIME type of Im.GroupMessages.CONTENT_URI providing a directory of
group messages. |
static String |
Im.Avatars.CONTENT_TYPE
The MIME type of Im.Avatars.CONTENT_URI providing the avatars |
static String |
Im.Presence.CONTENT_TYPE
The MIME type of a Im.Presence.CONTENT_URI providing a directory of presence |
static String |
Im.Chats.CONTENT_TYPE
The MIME type of Im.Chats.CONTENT_URI providing a directory of chats. |
static String |
Im.SessionCookies.CONTENT_TYPE
The MIME type of Im.SessionCookies.CONTENT_URI providing a directory of
people. |
static String |
Im.ProviderSettings.CONTENT_TYPE
The MIME type of Im.ProviderSettings.CONTENT_URI providing provider settings |
static String |
Contacts.People.CONTENT_TYPE
The MIME type of Contacts.People.CONTENT_URI providing a directory of
people. |
static String |
Contacts.Groups.CONTENT_TYPE
The MIME type of Contacts.Groups.CONTENT_URI providing a directory of
groups. |
static String |
Contacts.Phones.CONTENT_TYPE
The MIME type of Contacts.Phones.CONTENT_URI providing a directory of
phones. |
static String |
Contacts.GroupMembership.CONTENT_TYPE
The MIME type of Contacts.GroupMembership.CONTENT_URI providing a directory of all
person groups. |
static String |
Contacts.ContactMethods.CONTENT_TYPE
The MIME type of Contacts.ContactMethods.CONTENT_URI providing a directory of
phones. |
static String |
Contacts.Extensions.CONTENT_TYPE
The MIME type of Contacts.Extensions.CONTENT_URI providing a directory of
phones. |
static String |
CallLog.Calls.CONTENT_TYPE
The MIME type of CallLog.Calls.CONTENT_URI and CallLog.Calls.CONTENT_FILTER_URI
providing a directory of calls. |
static String |
MediaStore.Images.Media.CONTENT_TYPE
The MIME type of of this directory of images. |
static String |
MediaStore.Audio.Media.CONTENT_TYPE
The MIME type for this table. |
static String |
MediaStore.Audio.Genres.CONTENT_TYPE
The MIME type for this table. |
static String |
MediaStore.Audio.Playlists.CONTENT_TYPE
The MIME type for this table. |
static String |
MediaStore.Audio.Artists.CONTENT_TYPE
The MIME type for this table. |
static String |
MediaStore.Audio.Albums.CONTENT_TYPE
The MIME type for this table. |
static String |
MediaStore.Video.Media.CONTENT_TYPE
The MIME type for this table. |
static String |
SubscribedFeeds.Feeds.CONTENT_TYPE
The MIME type of SubscribedFeeds.Feeds.CONTENT_URI providing a directory of
subscribed feeds. |
static String |
SubscribedFeeds.Accounts.CONTENT_TYPE
The MIME type of SubscribedFeeds.Accounts.CONTENT_URI providing a directory of
accounts that have subscribed feeds. |
String |
Gmail.Attachment.contentType
The native content type. |
static String |
Gmail.SettingsColumns.CONVERSATION_AGE_DAYS
|
static String |
Gmail.MessageColumns.CONVERSATION_ID
|
static String |
Checkin.Stats.COUNT
|
static String |
Browser.BookmarkColumns.CREATED
|
static String |
Calendar.CalendarAlertsColumns.CREATION_TIME
The creation time of this database entry, in UTC. |
static String |
Telephony.Mms.Part.CT_START
The start of content-type of the message. |
static String |
Telephony.Mms.Part.CT_TYPE
The type of content-type of the message. |
static String |
Telephony.Carriers.CURRENT
|
static String |
Contacts.PeopleColumns.CUSTOM_RINGTONE
A custom ringtone associated with a person. |
static String |
Im.AvatarsColumns.DATA
raw image data |
static String |
Im.OutgoingRmqColumns.DATA
|
static String |
Checkin.Crashes.DATA
|
static String |
Contacts.ContactMethodsColumns.DATA
The data for the contact method. |
static String |
Contacts.PhotosColumns.DATA
The image data, or null if there is no image. |
static String |
MediaStore.MediaColumns.DATA
The data stream for the file |
static String |
MediaStore.Images.Thumbnails.DATA
The data stream for the thumbnail |
static String |
MediaStore.Audio.PlaylistsColumns.DATA
The data stream for the playlist file |
static String |
DrmStore.Columns.DATA
The data stream for the file |
static String |
Settings.System.DATA_ROAMING
Deprecated. Use Settings.Secure.DATA_ROAMING instead |
static String |
Settings.Secure.DATA_ROAMING
Whether or not data roaming is enabled. |
static String |
Telephony.Sms.Intents.DATA_SMS_RECEIVED_ACTION
Broadcast Action: A new data based SMS message has been received by the device. |
static String |
Browser.BookmarkColumns.DATE
|
static String |
Browser.SearchColumns.DATE
|
static String |
Telephony.TextBasedSmsColumns.DATE
The date the message was sent |
static String |
Telephony.BaseMmsColumns.DATE
The date the message was sent. |
static String |
Telephony.ThreadsColumns.DATE
The date at which the thread was created. |
static String |
Im.BaseMessageColumns.DATE
The date this message is sent or received |
static String |
Checkin.Events.DATE
|
static String |
CallLog.Calls.DATE
The date the call occured, in milliseconds since the epoch |
static String |
Gmail.ConversationColumns.DATE
|
static String |
MediaStore.MediaColumns.DATE_ADDED
The time the file was added to the media provider Units are seconds since 1970. |
static String |
MediaStore.Audio.PlaylistsColumns.DATE_ADDED
The time the file was added to the media provider Units are seconds since 1970. |
static String |
Settings.System.DATE_FORMAT
Date format string mm/dd/yyyy dd/mm/yyyy yyyy/mm/dd |
static String |
MediaStore.MediaColumns.DATE_MODIFIED
The time the file was last modified Units are seconds since 1970. |
static String |
MediaStore.Audio.PlaylistsColumns.DATE_MODIFIED
The time the file was last modified Units are seconds since 1970. |
static String |
Gmail.MessageColumns.DATE_RECEIVED_MS
|
static String |
Gmail.MessageColumns.DATE_SENT_MS
|
static String |
MediaStore.Images.ImageColumns.DATE_TAKEN
The date & time that the image was taken in units of milliseconds since jan 1, 1970. |
static String |
MediaStore.Video.VideoColumns.DATE_TAKEN
The date & time that the image was taken in units of milliseconds since jan 1, 1970. |
static String |
Calendar.BusyBitsColumns.DAY
The Julian day number. |
static String |
Settings.System.DEBUG_APP
Name of an application package to be debugged. |
static String |
Settings.Secure.DEFAULT_INPUT_METHOD
Setting to record the input method used by default, holding the ID of the desired method. |
static String |
Telephony.Sms.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Sms.Inbox.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Sms.Sent.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Sms.Draft.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Sms.Outbox.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Sms.Conversations.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Mms.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Mms.Inbox.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Mms.Sent.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Mms.Draft.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Mms.Outbox.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Telephony.Carriers.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
UserDictionary.Words.DEFAULT_SORT_ORDER
Sort by descending order of frequency. |
static String |
Im.Provider.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.Account.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.AccountStatus.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.Contacts.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.ContactList.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.BlockedList.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.Messages.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.GroupMessages.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.Avatars.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.Presence.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.Chats.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Im.OutgoingRmq.DEFAULT_SORT_ORDER
The default sort order for this table. |
static String |
Contacts.Settings.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.People.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.People.Phones.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.People.ContactMethods.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.People.Extensions.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.Groups.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.Phones.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.GroupMembership.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.ContactMethods.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.Organizations.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.Photos.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Contacts.Extensions.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
CallLog.Calls.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Images.Media.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Images.Thumbnails.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Media.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Genres.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Genres.Members.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Playlists.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Playlists.Members.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Artists.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Audio.Albums.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Video.DEFAULT_SORT_ORDER
deprecated Replaced by DEFAULT_SORT_ORDER2 This variable is a mistake that is retained for backwards compatibility. |
static String |
MediaStore.Video.Media.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
SubscribedFeeds.Feeds.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
SubscribedFeeds.Accounts.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Calendar.Calendars.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Calendar.Events.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
Calendar.Instances.DEFAULT_SORT_ORDER
The default sort order for this table. |
static String |
Calendar.CalendarAlertsColumns.DEFAULT_SORT_ORDER
The default sort order for this table |
static String |
MediaStore.Video.DEFAULT_SORT_ORDER2
The default sort order for this table |
static String |
Telephony.Mms.Intents.DELETED_CONTENTS
An extra field which stores the URI of deleted contents. |
static String |
Telephony.BaseMmsColumns.DELIVERY_REPORT
The delivery-report of the message. |
static String |
Telephony.BaseMmsColumns.DELIVERY_TIME
The delivery-time of the message. |
static String |
Telephony.BaseMmsColumns.DELIVERY_TIME_TOKEN
The delivery-time-token of the message. |
static String |
LiveFolders.DESCRIPTION
Content provider column. |
static String |
MediaStore.Images.ImageColumns.DESCRIPTION
The description of the image |
static String |
MediaStore.Video.VideoColumns.DESCRIPTION
The description of the video recording |
static String |
Calendar.EventsColumns.DESCRIPTION
The description of the event |
static String |
Settings.System.DEVICE_PROVISIONED
Deprecated. Use Settings.Secure.DEVICE_PROVISIONED instead |
static String |
Settings.Secure.DEVICE_PROVISIONED
Whether the device has been provisioned (0 = false, 1 = true) |
static String |
Settings.System.DIM_SCREEN
Whether or not to dim the screen. |
static String |
Settings.Gservices.DISK_FREE_CHANGE_REPORTING_THRESHOLD
Threshold for the amount of change in disk free space required to report the amount of free space. |
static String |
Contacts.PeopleColumns.DISPLAY_NAME
The display name. |
static String |
MediaStore.MediaColumns.DISPLAY_NAME
The display name of the file |
static String |
OpenableColumns.DISPLAY_NAME
The human-friendly name of file. |
static String |
Calendar.Calendars.DISPLAY_NAME
The display name of the calendar |
static String |
Telephony.BaseMmsColumns.DISTRIBUTION_INDICATOR
The distribution-indicator of the message. |
static String |
Contacts.PhotosColumns.DOWNLOAD_REQUIRED
non-zero if a download is required and the photo isn't marked as a bad resource. |
static String |
Sync.HistoryColumns.DOWNSTREAM_ACTIVITY
How much activity was performed while receiving data from the server. |
static String |
Telephony.BaseMmsColumns.DRM_CONTENT
The drm-content of the message. |
static String |
Calendar.EventsColumns.DTEND
The time the event ends |
static String |
Settings.System.DTMF_TONE_WHEN_DIALING
Whether the audible DTMF tones are played by the dialer when dialing. |
static String |
Calendar.EventsColumns.DTSTART
The time the event starts |
static String |
Telephony.MmsSms.PendingMessages.DUE_TIME
The time to do next retry. |
static String |
CallLog.Calls.DURATION
The duration of the call in seconds |
static String |
MediaStore.Audio.AudioColumns.DURATION
The duration of the audio file, in ms |
static String |
MediaStore.Video.VideoColumns.DURATION
The duration of the video file, in ms |
static String |
Calendar.EventsColumns.DURATION
The duration of the event |
static String |
Sync.HistoryColumns.ELAPSED_TIME
How long this event took. |
static String |
Telephony.BaseMmsColumns.ELEMENT_DESCRIPTOR
The element-descriptor of the message. |
static String |
Contacts.Intents.Insert.EMAIL
The extra field for the contact email address. |
static String |
Contacts.Intents.Insert.EMAIL_ISPRIMARY
The extra field for the email isprimary flag. |
static String |
Gmail.EMAIL_SEPARATOR
Separates email addresses in strings in the database. |
static String |
Contacts.Intents.Insert.EMAIL_TYPE
The extra field for the contact email type. |
static String |
Gmail.MessageColumns.EMBEDS_EXTERNAL_RESOURCES
|
static String |
Settings.Secure.ENABLED_INPUT_METHODS
List of input methods that are currently enabled. |
static String |
Calendar.Instances.END
The ending time of the instance, in UTC milliseconds |
static String |
Calendar.CalendarAlertsColumns.END
The end time of the event, in UTC |
static String |
Settings.System.END_BUTTON_BEHAVIOR
What happens when the user presses the end call button if they're not on a call. Values: 0 - The end button does nothing. 1 - The end button goes to the home screen. 2 - The end button puts the device to sleep and locks the keyguard. 3 - The end button goes to the home screen. |
static String |
Calendar.Instances.END_DAY
The Julian end day of the instance, relative to the local timezone |
static String |
Calendar.Instances.END_MINUTE
The end minute of the instance measured from midnight in the local timezone. |
static String |
MediaStore.Audio.Genres.ENTRY_CONTENT_TYPE
The MIME type for entries in this table. |
static String |
MediaStore.Audio.Playlists.ENTRY_CONTENT_TYPE
The MIME type for entries in this table. |
static String |
MediaStore.Audio.Artists.ENTRY_CONTENT_TYPE
The MIME type for entries in this table. |
static String |
MediaStore.Audio.Albums.ENTRY_CONTENT_TYPE
The MIME type for entries in this table. |
static String |
Telephony.ThreadsColumns.ERROR
Indicates whether there is a transmission error in the thread. |
static String |
Gmail.MessageColumns.ERROR
|
static String |
Telephony.MmsSms.PendingMessages.ERROR_CODE
The error code of sending/retrieving process. |
static String |
Im.BaseMessageColumns.ERROR_CODE
Error Code: 0 means no error. |
static String |
Im.BaseMessageColumns.ERROR_MESSAGE
Error Message |
static String |
Telephony.MmsSms.PendingMessages.ERROR_TYPE
The type of the error code. |
static String |
Im.ContactsEtagColumns.ETAG
The roster etag, computed by the server, stored on the client. |
static String |
Sync.HistoryColumns.EVENT
The type of sync event (START, STOP). |
static String |
Calendar.EVENT_BEGIN_TIME
These are the symbolic names for the keys used in the extra data passed in the intent for event reminders. |
static String |
Calendar.EVENT_END_TIME
|
static String |
Calendar.AttendeesColumns.EVENT_ID
The id of the event. |
static String |
Calendar.Instances.EVENT_ID
The event for this instance |
static String |
Calendar.RemindersColumns.EVENT_ID
The event the reminder belongs to |
static String |
Calendar.CalendarAlertsColumns.EVENT_ID
The event that the alert belongs to |
static String |
Calendar.ExtendedPropertiesColumns.EVENT_ID
The event the extended property belongs to |
static String |
Calendar.EventsColumns.EVENT_LOCATION
Where the event takes place. |
static String |
Calendar.EVENT_REMINDER_ACTION
Broadcast Action: An event reminder. |
static String |
Sync.HistoryColumns.EVENT_TIME
The time of the event. |
static String |
Calendar.EventsColumns.EVENT_TIMEZONE
The timezone for the event. |
static String[] |
Sync.History.EVENTS
String names for the sync event types. |
static String |
Calendar.EventsColumns.EXDATE
The recurrence exception dates for the event. |
static String |
Contacts.PhotosColumns.EXISTS_ON_SERVER
non-zero if this photo is known to exist on the server |
static String |
Telephony.BaseMmsColumns.EXPIRY
The expiry time of the message. |
static String |
Calendar.EventsColumns.EXRULE
The recurrence exception rule for the event. |
static String |
Telephony.Mms.Intents.EXTRA_BCC
The extra field to store the 'Bcc' addresses; |
static String |
Telephony.Mms.Intents.EXTRA_CC
The extra field to store the 'Cc' addresses. |
static String |
Telephony.Mms.Intents.EXTRA_CONTENTS
The extra field to store the contents of the Intent, which should be an array of Uri. |
static String |
MediaStore.EXTRA_FINISH_ON_COMPLETION
The name of the Intent-extra used to control the onCompletion behavior of a MovieView. |
static String |
MediaStore.EXTRA_FULL_SCREEN
The name of the Intent-extra used to control the orientation of a ViewImage. |
static String |
LiveFolders.EXTRA_LIVE_FOLDER_BASE_INTENT
The name of the extra used to define the base Intent of a live folder. |
static String |
LiveFolders.EXTRA_LIVE_FOLDER_DISPLAY_MODE
The name of the extra used to define the display mode of a live folder. |
static String |
LiveFolders.EXTRA_LIVE_FOLDER_ICON
The name of the extra used to define the icon of a live folder. |
static String |
LiveFolders.EXTRA_LIVE_FOLDER_NAME
The name of the extra used to define the name of a live folder. |
static String |
MediaStore.Audio.Media.EXTRA_MAX_BYTES
The name of the Intent-extra used to define a maximum file size for a recording made by the SoundRecorder application. |
static String |
MediaStore.EXTRA_MEDIA_ALBUM
The name of the Intent-extra used to define the album |
static String |
MediaStore.EXTRA_MEDIA_ARTIST
The name of the Intent-extra used to define the artist |
static String |
MediaStore.EXTRA_MEDIA_FOCUS
The name of the Intent-extra used to define the search focus. |
static String |
MediaStore.EXTRA_MEDIA_TITLE
The name of the Intent-extra used to define the song title |
static String |
MediaStore.EXTRA_OUTPUT
The name of the Intent-extra used to indicate a Uri to be used to store the requested image or video. |
static String |
Telephony.Intents.EXTRA_PLMN
|
static String |
MediaStore.EXTRA_SCREEN_ORIENTATION
The name of the Intent-extra used to control the orientation of a ViewImage or a MovieView. |
static String |
MediaStore.EXTRA_SHOW_ACTION_ICONS
The name of the Intent-extra used to control the orientation of a ViewImage. |
static String |
Telephony.Intents.EXTRA_SHOW_PLMN
|
static String |
Telephony.Intents.EXTRA_SHOW_SPN
|
static String |
Telephony.Intents.EXTRA_SPN
|
static String |
Gmail.EXTRA_STATUS
Used for finding status in a cursor's extras. |
static String |
Telephony.Mms.Intents.EXTRA_SUBJECT
The extra field to store the 'Subject'. |
static String |
Telephony.Mms.Intents.EXTRA_TYPES
The extra field to store the type of the contents, which should be an array of String. |
static String |
MediaStore.EXTRA_VIDEO_QUALITY
The name of the Intent-extra used to control the quality of a recorded video. |
static String |
Gmail.MessageColumns.FAKE_REF_MESSAGE_ID
|
static String |
Gmail.MessageColumns.FAKE_SAVE
|
static String |
Browser.BookmarkColumns.FAVICON
|
static String |
SubscribedFeeds.FeedColumns.FEED
The feed url. |
static String |
Telephony.Mms.Part.FILENAME
The file name of the part. |
static String |
Gmail.AttachmentColumns.FILENAME
The name of the file to open (with ContentProvider.open). |
static String |
Contacts.Intents.UI.FILTER_CONTACTS_ACTION
Activity Action: Display a filtered list of contacts |
static String |
Contacts.Intents.UI.FILTER_TEXT_EXTRA_KEY
Used as an int extra field in Contacts.Intents.UI.FILTER_CONTACTS_ACTION
intents to supply the text on which to filter. |
static String |
MediaStore.Audio.AlbumColumns.FIRST_YEAR
The year in which the earliest and latest songs on this album were released. |
static String |
Settings.Bookmarks.FOLDER
Arbitrary string (displayed to the user) that allows bookmarks to be organized into categories. |
static String |
Settings.System.FONT_SCALE
Scaling factor for fonts, float. |
static String |
Gmail.ConversationColumns.FORCE_ALL_UNREAD
|
static String |
UserDictionary.Words.FREQUENCY
The frequency column. |
static String |
Telephony.BaseMmsColumns.FROM
The address of the sender. |
static String |
Gmail.ConversationColumns.FROM
|
static String |
Gmail.MessageColumns.FROM
|
static String |
Contacts.Intents.Insert.FULL_MODE
If present, forces a bypass of quick insert mode. |
static String |
Im.ProviderColumns.FULLNAME
The full name of the provider |
static String |
MediaStore.Audio.Genres.Members.GENRE_ID
The ID of the genre |
static String |
Settings.Gservices.GLS_PUBLIC_KEY
RSA public key used to encrypt passwords stored in the database. |
static String |
Gmail.GMAIL_AUTH_SERVICE
|
static String |
Settings.Gservices.GMAIL_CONFIG_INFO_MIN_SERVER_VERSION
The minimum version of the server that is required in order for the device to accept the server's recommendations about the initial sync settings to use. |
static String |
Settings.Gservices.GMAIL_DISALLOW_IMAGE_PREVIEWS
Controls whether Gmail offers a preview button for images. |
static String |
Settings.Gservices.GMAIL_SEND_IMMEDIATELY
Controls whether Gmail will request an expedited sync when a message is sent. |
static String |
Settings.Gservices.GMAIL_TIMEOUT_MS
The timeout in milliseconds that Gmail uses when opening a connection and reading from it. |
static String |
Settings.Gservices.GOOGLE_LOGIN_GENERIC_AUTH_SERVICE
"Generic" service name for authentication requests. |
static String |
Settings.Gservices.GOOGLE_SERVICES_PREFIX
Prefix for new Google services published by the checkin server. |
static String |
Settings.Gservices.GPRS_REGISTER_CHECK_PERIOD_MS
The interval in milliseconds at which to check gprs registration after the first registration mismatch of gprs and voice service, to detect possible data network registration problems. |
static String |
Im.GroupMemberColumns.GROUP
The id of the group this member belongs to. |
static String |
Im.GroupMessageColumns.GROUP
The group this message belongs to |
static String |
Contacts.Groups.GROUP_ANDROID_STARRED
|
static String |
Im.ChatsColumns.GROUP_CHAT
Whether this is a groupchat or not. |
static String |
Contacts.GroupMembership.GROUP_ID
The row id of the accounts group. |
static String |
Contacts.Groups.GROUP_MY_CONTACTS
The "My Contacts" system group. |
static String |
Im.InvitationColumns.GROUP_NAME
The name of the group which the sender invite you to join. |
static String |
Contacts.Intents.UI.GROUP_NAME_EXTRA_KEY
When in LIST_GROUP_ACTION mode, this is the group to display. |
static String |
Contacts.GroupMembership.GROUP_SYNC_ACCOUNT
The account of the group. |
static String |
Contacts.GroupMembership.GROUP_SYNC_ID
The sync id of the group. |
static String |
Im.ProviderNames.GTALK
|
static String |
Im.ProviderCategories.GTALK
|
static String |
Settings.Gservices.GTALK_DATA_MESSAGE_WAKELOCK_MS
GTalkService holds a wakelock while broadcasting the intent for data message received. |
static String |
Settings.Gservices.GTALK_SERVICE_ACTIVE_HEARTBEAT_INTERVAL_MS
How frequently we send heartbeat pings to the GTalk server. |
static String |
Settings.Gservices.GTALK_SERVICE_AWAY_HEARTBEAT_INTERVAL_MS
How frequently we send heartbeat pings to the GTalk server. |
static String |
Settings.Gservices.GTALK_SERVICE_CONNECT_ON_AUTO_SYNC
By default, GTalkService will always connect to the server regardless of the auto-sync setting. |
static String |
Settings.Gservices.GTALK_SERVICE_HEARTBEAT_ACK_TIMEOUT_MS
How long we wait to receive a heartbeat ping acknowledgement (or another packet) from the GTalk server, before deeming the connection dead. |
static String |
Settings.Gservices.GTALK_SERVICE_HOSTNAME
Hostname of the GTalk server. |
static String |
Settings.Gservices.GTALK_SERVICE_IDLE_TIMEOUT_MS
How long after screen is turned off before we consider the user to be idle. |
static String |
Settings.Gservices.GTALK_SERVICE_MAX_RECONNECT_DELAY
The maximum reconnect delay time, in milliseconds. |
static String |
Settings.Gservices.GTALK_SERVICE_MIN_RECONNECT_DELAY_LONG
The minimum reconnect delay for long network outages |
static String |
Settings.Gservices.GTALK_SERVICE_MIN_RECONNECT_DELAY_SHORT
The minimum reconnect delay for short network outages or when the network is suspended due to phone use. |
static String |
Settings.Gservices.GTALK_SERVICE_NOSYNC_HEARTBEAT_INTERVAL_MS
How frequently we send heartbeat pings to the GTalk server. |
static String |
Settings.Gservices.GTALK_SERVICE_RECONNECT_VARIANT_LONG
The reconnect variant range for long network outages. |
static String |
Settings.Gservices.GTALK_SERVICE_RECONNECT_VARIANT_SHORT
The reconnect variant range for short network outages or when the network is suspended due to phone use. |
static String |
Settings.Gservices.GTALK_SERVICE_RMQ_ACK_INTERVAL
The server configurable RMQ acking interval |
static String |
Settings.Gservices.GTALK_SERVICE_SECURE_PORT
Secure port of the GTalk server. |
static String |
Settings.Gservices.GTALK_SERVICE_SHORT_NETWORK_DOWNTIME
The network downtime that is considered "short" for the above calculations, in milliseconds. |
static String |
Settings.Gservices.GTALK_SERVICE_SYNC_HEARTBEAT_INTERVAL_MS
How frequently we send heartbeat pings to the GTalk server. |
static String |
Settings.Gservices.GTALK_SSL_HANDSHAKE_TIMEOUT_MS
The socket read timeout used to control how long ssl handshake wait for reads before timing out. |
static String |
Calendar.EventsColumns.HAS_ALARM
Whether the event has an alarm or not |
static String |
Gmail.ConversationColumns.HAS_ATTACHMENTS
|
static String |
Calendar.EventsColumns.HAS_EXTENDED_PROPERTIES
Whether the event has extended properties or not |
static String |
Gmail.ConversationColumns.HAS_MESSAGES_WITH_ERRORS
|
static String |
Im.AvatarsColumns.HASH
The hash of the image data |
static String |
MediaStore.Images.Thumbnails.HEIGHT
The height of the thumbnail |
static String |
Calendar.Calendars.HIDDEN
Should the calendar be hidden in the calendar selection panel? |
static String[] |
Browser.HISTORY_PROJECTION
|
static String |
Calendar.EventsColumns.HTML_URI
The URI for an HTML version of this event. |
static String |
Settings.System.HTTP_PROXY
Deprecated. Use Settings.Secure.HTTP_PROXY instead |
static String |
Settings.Secure.HTTP_PROXY
Host name and port for a user-selected proxy. |
static String |
LiveFolders.ICON_BITMAP
Content provider column. |
static String |
LiveFolders.ICON_PACKAGE
Content provider column. |
static String |
LiveFolders.ICON_RESOURCE
Content provider column. |
static String |
Im.ProviderNames.ICQ
|
static String |
Im.ProviderCategories.ICQ
|
static String |
Settings.Bookmarks.ID
The row ID. |
static String |
Gmail.ConversationColumns.ID
|
static String |
Gmail.MessageColumns.ID
|
static String |
Contacts.PresenceColumns.IM_ACCOUNT
The IM account for the local user that the presence data came from. |
static String |
Contacts.PresenceColumns.IM_HANDLE
The IM handle the presence item is for. |
static String |
Contacts.Intents.Insert.IM_HANDLE
The extra field for an IM handle. |
static String |
Contacts.Intents.Insert.IM_ISPRIMARY
The extra field for the IM isprimary flag. |
static String |
Contacts.PresenceColumns.IM_PROTOCOL
The IM service the presence is coming from. |
static String |
Contacts.Intents.Insert.IM_PROTOCOL
The extra field for the IM protocol |
static String |
MediaStore.Images.Thumbnails.IMAGE_ID
The original image for the thumbnal |
static String |
Browser.INITIAL_ZOOM_LEVEL
The name of extra data when starting Browser with ACTION_VIEW or ACTION_SEARCH intent. |
static String |
Gmail.INSERT_PARAM_ATTACHMENT_ORIGIN
|
static String |
Gmail.INSERT_PARAM_ATTACHMENT_ORIGIN_EXTRAS
|
static String |
Settings.System.INSTALL_NON_MARKET_APPS
Deprecated. Use Settings.Secure.INSTALL_NON_MARKET_APPS instead |
static String |
Settings.Secure.INSTALL_NON_MARKET_APPS
Whether the package installer should allow installation of apps downloaded from sources other than the Android Market (vending machine). |
static String |
Settings.Bookmarks.INTENT
The Intent URL of the bookmark, describing what it points to. |
static String |
LiveFolders.INTENT
Content provider column. |
static String |
MediaStore.INTENT_ACTION_MEDIA_SEARCH
Activity Action: Perform a search for media. |
static String |
MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA
The name of the Intent action used to launch a camera in still image mode. |
static String |
MediaStore.INTENT_ACTION_VIDEO_CAMERA
The name of the Intent action used to launch a camera in video mode. |
static String |
Im.InvitationColumns.INVITE_ID
The invitation id. |
static String |
MediaStore.Audio.AudioColumns.IS_ALARM
Non-zero id the audio file may be an alarm |
static String |
MediaStore.Audio.AudioColumns.IS_MUSIC
Non-zero if the audio file is music |
static String |
MediaStore.Audio.AudioColumns.IS_NOTIFICATION
Non-zero id the audio file may be a notification sound |
static String |
MediaStore.Images.ImageColumns.IS_PRIVATE
Whether the video should be published as public or private |
static String |
MediaStore.Video.VideoColumns.IS_PRIVATE
Whether the video should be published as public or private |
static String |
MediaStore.Audio.AudioColumns.IS_RINGTONE
Non-zero id the audio file may be a ringtone |
static String |
Contacts.PhonesColumns.ISPRIMARY
Whether this is the primary phone number |
static String |
Contacts.ContactMethodsColumns.ISPRIMARY
Whether this is the primary organization |
static String |
Contacts.OrganizationColumns.ISPRIMARY
Whether this is the primary organization |
static String |
Im.PresenceColumns.JID_RESOURCE
The contact's JID resource, only relevant for XMPP contact |
static String |
Im.ChatsColumns.JID_RESOURCE
The GTalk JID resource. |
static String |
Contacts.Intents.Insert.JOB_TITLE
The extra field for the contact job title. |
static String |
Gmail.MessageColumns.JOINED_ATTACHMENT_INFOS
|
static String |
Im.AccountColumns.KEEP_SIGNED_IN
A boolean value to indicate whether this account is kept signed in. |
static String |
Contacts.SettingsColumns.KEY
The key of this setting. |
static String |
Sync.SettingsColumns.KEY
The key of the setting |
static String |
Contacts.ContactMethodsColumns.KIND
The kind of the the contact method. |
static String |
MediaStore.Images.Thumbnails.KIND
The kind of the thumbnail |
static String |
Contacts.PhonesColumns.LABEL
The user provided label for the phone number, only used if TYPE is TYPE_CUSTOM. |
static String |
Contacts.ContactMethodsColumns.LABEL
The user defined label for the the contact method. |
static String |
Contacts.OrganizationColumns.LABEL
The user provided label, only used if TYPE is TYPE_CUSTOM. |
static String |
Gmail.LABEL_ALL
|
static String |
Gmail.LABEL_CACHED
|
static String |
Gmail.LABEL_CHAT
|
static String |
Gmail.LABEL_DRAFT
|
static String |
Gmail.ConversationColumns.LABEL_IDS
A list of label names with a space after each one (including the last one). |
static String |
Gmail.MessageColumns.LABEL_IDS
|
static String |
Gmail.LABEL_IGNORED
|
static String |
Gmail.LABEL_INBOX
|
static String |
Gmail.LABEL_OUTBOX
|
static String |
Gmail.LABEL_SENT
|
static String |
Gmail.LABEL_SPAM
|
static String |
Gmail.LABEL_STARRED
|
static String |
Gmail.LABEL_TRASH
|
static String |
Gmail.LABEL_UNREAD
|
static String |
Gmail.LABEL_VOICEMAIL
|
static String |
Gmail.LABEL_VOICEMAIL_INBOX
|
static String |
Gmail.SettingsColumns.LABELS_INCLUDED
|
static String |
Gmail.SettingsColumns.LABELS_PARTIAL
|
String[] |
Gmail.Settings.labelsIncluded
|
String[] |
Gmail.Settings.labelsPartial
|
static String |
MediaStore.Video.VideoColumns.LANGUAGE
The language of the video |
static String |
Calendar.EventsColumns.LAST_DATE
The last date this event repeats on, or NULL if it never ends |
static String |
Sync.StatusColumns.LAST_FAILURE_MESG
The MESG of the last sync that failed since the last successful sync. |
static String |
Sync.StatusColumns.LAST_FAILURE_SOURCE
The SOURCE of the last sync that failed since the last successful sync. |
static String |
Sync.StatusColumns.LAST_FAILURE_TIME
The end time in ms of the last sync that failed since the last successful sync. |
static String |
Im.AccountColumns.LAST_LOGIN_STATE
A boolean value indiciating the last login state for this account |
static String |
Im.ChatsColumns.LAST_MESSAGE_DATE
The last message timestamp |
static String |
Im.ProviderSettings.LAST_RMQ_RECEIVED
Used for reliable message queue (RMQ). |
static String |
Sync.StatusColumns.LAST_SUCCESS_SOURCE
The SOURCE of the last successful sync. |
static String |
Sync.StatusColumns.LAST_SUCCESS_TIME
The time in ms that the last successful sync ended. |
static String |
Contacts.PeopleColumns.LAST_TIME_CONTACTED
The last time a person was contacted. |
static String |
Telephony.MmsSms.PendingMessages.LAST_TRY
The time we last tried to send or download the message. |
static String |
Im.ChatsColumns.LAST_UNREAD_MESSAGE
The last unread message. |
static String |
MediaStore.Audio.AlbumColumns.LAST_YEAR
|
static String |
MediaStore.Images.ImageColumns.LATITUDE
The latitude where the image was captured. |
static String |
MediaStore.Video.VideoColumns.LATITUDE
The latitude where the image was captured. |
static String |
Telephony.BaseMmsColumns.LIMIT
The limit of the message. |
static String |
Contacts.Intents.UI.LIST_ALL_CONTACTS_ACTION
The action for the all contacts list tab. |
static String |
Contacts.Intents.UI.LIST_CONTACTS_WITH_PHONES_ACTION
The action for the contacts with phone numbers list tab. |
static String |
Contacts.Intents.UI.LIST_DEFAULT
The action for the default contacts list tab. |
static String |
Contacts.Intents.UI.LIST_FREQUENT_ACTION
The action for the frequent contacts list tab. |
static String |
Contacts.Intents.UI.LIST_GROUP_ACTION
The action for the contacts list tab. |
static String |
Gmail.MessageColumns.LIST_INFO
|
static String |
Contacts.Intents.UI.LIST_STARRED_ACTION
The action for the starred contacts list tab. |
static String |
Contacts.Intents.UI.LIST_STREQUENT_ACTION
The action for the "strequent" contacts list tab. |
static String |
Calendar.CalendarMetaDataColumns.LOCAL_TIMEZONE
The local timezone that was used for precomputing the fields in the Instances table. |
static String |
Contacts.PhotosColumns.LOCAL_VERSION
The _SYNC_VERSION of the photo that was last downloaded |
static String |
UserDictionary.Words.LOCALE
The locale that this word belongs to. |
static String |
Calendar.Calendars.LOCATION
The location the of the events in the calendar |
static String |
Settings.System.LOCATION_PROVIDERS_ALLOWED
Deprecated. Use Settings.Secure.LOCATION_PROVIDERS_ALLOWED
instead |
static String |
Settings.Secure.LOCATION_PROVIDERS_ALLOWED
Comma-separated list of location providers that activities may access. |
static String |
Settings.System.LOCK_PATTERN_ENABLED
Whether autolock is enabled (0 = false, 1 = true) |
static String |
Settings.System.LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED
Whether lock pattern will vibrate as user enters (0 = false, 1 = true) |
static String |
Settings.System.LOCK_PATTERN_VISIBLE
Whether lock pattern is visible as user enters (0 = false, 1 = true) |
static String |
Im.AccountColumns.LOCKED
A boolean value indicates if the account is locked (not editable) |
static String |
Settings.System.LOGGING_ID
Deprecated. Use Settings.Secure.LOGGING_ID instead |
static String |
Settings.Secure.LOGGING_ID
Deprecated. This identifier is poorly initialized and has many collisions. It should not be used. |
static String |
Settings.Secure.LOGGING_ID2
The Logging ID (a unique 64-bit value) as a hex string. |
static String |
Checkin.Crashes.LOGS
|
static String |
MediaStore.Images.ImageColumns.LONGITUDE
The longitude where the image was captured. |
static String |
MediaStore.Video.VideoColumns.LONGITUDE
The longitude where the image was captured. |
protected String |
Gmail.MailCursor.mAccount
|
static String |
Gmail.SettingsColumns.MAX_ATTACHMENET_SIZE_MB
|
static String |
Calendar.CalendarMetaDataColumns.MAX_BUSYBITS
The maximum Julian day in the BusyBits table. |
static String |
Calendar.CalendarMetaDataColumns.MAX_INSTANCE
The maximum time used in expanding the Instances table, in UTC milliseconds. |
static String |
Gmail.ConversationColumns.MAX_MESSAGE_ID
|
static String |
Telephony.BaseMmsColumns.MBOX_QUOTAS
The mbox-quotas of the message. |
static String |
Telephony.BaseMmsColumns.MBOX_QUOTAS_TOKEN
The mbox-quotas-token of the message. |
static String |
Telephony.BaseMmsColumns.MBOX_TOTALS
The mbox-totals of the message. |
static String |
Telephony.BaseMmsColumns.MBOX_TOTALS_TOKEN
The mbox-totals-token of the message. |
static String |
Telephony.Carriers.MCC
|
static String |
MediaStore.MEDIA_SCANNER_VOLUME
Name of current volume being scanned by the media scanner. |
static String |
Settings.Gservices.MEMCHECK_EXEC_END_TIME
Last time during the day it is okay to kill processes or reboot the device due to low memory situations. |
static String |
Settings.Gservices.MEMCHECK_EXEC_START_TIME
First time during the day it is okay to kill processes or reboot the device due to low memory situations. |
static String |
Settings.Gservices.MEMCHECK_INTERVAL
How frequently (in seconds) to check the memory status of the device. |
static String |
Settings.Gservices.MEMCHECK_LOG_REALTIME_INTERVAL
Max frequency (in seconds) to log memory check stats, in realtime seconds. |
static String |
Settings.Gservices.MEMCHECK_MIN_ALARM
How much time there must be until the next alarm in order to kill processes or reboot. |
static String |
Settings.Gservices.MEMCHECK_MIN_SCREEN_OFF
How long the screen must have been off in order to kill processes or reboot. |
static String |
Settings.Gservices.MEMCHECK_PHONE_ENABLED
Boolean indicating whether restarting the phone process due to memory checks is enabled. |
static String |
Settings.Gservices.MEMCHECK_PHONE_HARD_THRESHOLD
How many bytes the phone process must be below to avoid scheduling a hard restart. |
static String |
Settings.Gservices.MEMCHECK_PHONE_SOFT_THRESHOLD
How many bytes the phone process must be below to avoid scheduling a soft restart. |
static String |
Settings.Gservices.MEMCHECK_RECHECK_INTERVAL
How frequently to check whether it is a good time to restart things, if the device is in a bad state. |
static String |
Settings.Gservices.MEMCHECK_SYSTEM_ENABLED
Boolean indicating whether rebooting due to system memory checks is enabled. |
static String |
Settings.Gservices.MEMCHECK_SYSTEM_HARD_THRESHOLD
How many bytes the system process must be below to avoid scheduling a hard reboot. |
static String |
Settings.Gservices.MEMCHECK_SYSTEM_SOFT_THRESHOLD
How many bytes the system process must be below to avoid scheduling a soft reboot. |
static String |
Sync.HistoryColumns.MESG
Any additional message associated with this event. |
static String |
Sync.History.MESG_CANCELED
|
static String |
Sync.History.MESG_SUCCESS
|
static String |
Telephony.BaseMmsColumns.MESSAGE_BOX
The box which the message belong to, for example, MESSAGE_BOX_INBOX. |
static String |
Telephony.BaseMmsColumns.MESSAGE_CLASS
The class of the message. |
static String |
Telephony.Sms.Conversations.MESSAGE_COUNT
The number of messages in the conversation |
static String |
Telephony.BaseMmsColumns.MESSAGE_COUNT
The message-count of the message. |
static String |
Telephony.ThreadsColumns.MESSAGE_COUNT
The message count of the thread. |
static String |
Telephony.BaseMmsColumns.MESSAGE_ID
The Message-ID of the message. |
static String |
Gmail.MessageColumns.MESSAGE_ID
|
static String |
Telephony.BaseMmsColumns.MESSAGE_SIZE
The size of the message. |
static String |
Telephony.BaseMmsColumns.MESSAGE_TYPE
The type of the message defined by MMS spec. |
static String |
Calendar.RemindersColumns.METHOD
The alarm method, as set on the server. |
static String |
MediaStore.MediaColumns.MIME_TYPE
The MIME type of the file |
static String |
DrmStore.Columns.MIME_TYPE
The MIME type of the file |
static String |
Calendar.CalendarMetaDataColumns.MIN_BUSYBITS
The minimum Julian day in the BusyBits table. |
static String |
Calendar.CalendarMetaDataColumns.MIN_INSTANCE
The minimum time used in expanding the Instances table, in UTC milliseconds. |
static String |
MediaStore.Images.ImageColumns.MINI_THUMB_MAGIC
The mini thumb id. |
static String |
MediaStore.Video.VideoColumns.MINI_THUMB_MAGIC
The mini thumb id. |
static String |
Calendar.RemindersColumns.MINUTES
The minutes prior to the event that the alarm should ring. |
static String |
Calendar.CalendarAlertsColumns.MINUTES
The number of minutes that this alarm precedes the start time |
static String |
Telephony.BaseMmsColumns.MM_FLAGS
The mm-flags of the message. |
static String |
Telephony.BaseMmsColumns.MM_FLAGS_TOKEN
The mm-flags-token of the message. |
static String |
Telephony.BaseMmsColumns.MM_STATE
The mm-state of the message. |
static String |
Settings.Gservices.MMS_MAXIMUM_MESSAGE_SIZE
MMS - maximum message size in bytes for a MMS message. |
static String |
Telephony.BaseMmsColumns.MMS_VERSION
The version of specification that this message conform. |
static String |
Settings.Gservices.MMS_X_WAP_PROFILE_URL
MMS - URL to use for HTTP "x-wap-profile" header |
static String |
Telephony.Carriers.MMSC
|
static String |
Telephony.Carriers.MMSPORT
|
static String |
Telephony.Carriers.MMSPROXY
|
static String |
Telephony.Carriers.MNC
|
static String |
Settings.System.MODE_RINGER
Ringer mode. |
static String |
Settings.System.MODE_RINGER_STREAMS_AFFECTED
Determines which streams are affected by ringer mode changes. |
static String |
Telephony.Mms.Addr.MSG_ID
The ID of MM which this address entry belongs to. |
static String |
Telephony.Mms.Part.MSG_ID
The identifier of the message which this part belongs to. |
static String |
Telephony.MmsSms.PendingMessages.MSG_ID
The ID of the message to be sent or downloaded. |
static String |
Telephony.MmsSms.PendingMessages.MSG_TYPE
The type of the message to be sent or downloaded. |
static String |
Im.ProviderNames.MSN
|
static String |
Im.ProviderCategories.MSN
|
static String |
Settings.System.MUTE_STREAMS_AFFECTED
Determines which streams are affected by mute. |
String |
Gmail.Attachment.name
The intended filename of the attachment. |
static String |
Telephony.Mms.Part.NAME
The name of the part. |
static String |
Telephony.Carriers.NAME
|
static String |
Settings.NameValueTable.NAME
|
static String |
Im.ProviderColumns.NAME
The name of the IM provider |
static String |
Im.AccountColumns.NAME
The name of the account |
static String |
Im.ContactListColumns.NAME
|
static String |
Im.SessionCookiesColumns.NAME
|
static String |
Im.ProviderSettingsColumns.NAME
The name of the setting |
static String |
Contacts.PeopleColumns.NAME
The person's name. |
static String |
Contacts.GroupsColumns.NAME
The group name. |
static String |
Contacts.ExtensionsColumns.NAME
The name of this extension. |
static String |
Contacts.Intents.Insert.NAME
The extra field for the contact name. |
static String |
Gmail.LabelColumns.NAME
|
static String |
LiveFolders.NAME
Content provider column. |
static String |
MediaStore.Audio.GenresColumns.NAME
The name of the genre |
static String |
MediaStore.Audio.PlaylistsColumns.NAME
The name of the playlist |
static String |
Calendar.Calendars.NAME
The name of the calendar |
static String |
Calendar.ExtendedPropertiesColumns.NAME
The name of the extended property. |
static String |
Settings.System.NETWORK_PREFERENCE
Deprecated. Use Settings.Secure.NETWORK_PREFERENCE instead |
static String |
Settings.Secure.NETWORK_PREFERENCE
User preference for which network(s) should be used. |
static String |
CallLog.Calls.NEW
Whether or not the call has been acknowledged |
static String |
Settings.System.NEXT_ALARM_FORMATTED
A formatted string of the next alarm that is set, or the empty string if there is no alarm set. |
static String |
Im.ContactsColumns.NICKNAME
The nickname or display name |
static String |
Im.BlockedListColumns.NICKNAME
The nickname of the blocked contact. |
static String |
Im.GroupMemberColumns.NICKNAME
The nick name of this member. |
static String |
SyncConstValue.NON_SYNCABLE_ACCOUNT
Used to indicate that this account is not synced |
static String |
Im.InvitationColumns.NOTE
A note |
static String |
Contacts.PeopleColumns.NOTES
Notes about the person. |
static String |
Contacts.GroupsColumns.NOTES
Notes about the group. |
static String |
Contacts.Intents.Insert.NOTES
The extra field for the contact notes. |
static String |
Settings.System.NOTIFICATION_SOUND
Persistent store for the system-wide default notification sound. |
static String |
Settings.System.NOTIFICATIONS_USE_RING_VOLUME
Whether the notifications should use the ring volume (value of 1) or a separate notification volume (value of 0). |
static String |
Calendar.CalendarAlertsColumns.NOTIFY_TIME
The time that the notification was created by the Calendar app, in UTC. |
static String |
Gmail.LabelColumns.NUM_CONVERSATIONS
|
static String |
Gmail.ConversationColumns.NUM_MESSAGES
|
static String |
Sync.StatusColumns.NUM_SOURCE_LOCAL
The number of syncs with SOURCE_LOCAL. |
static String |
Sync.StatusColumns.NUM_SOURCE_POLL
The number of syncs with SOURCE_POLL. |
static String |
Sync.StatusColumns.NUM_SOURCE_SERVER
The number of syncs with SOURCE_SERVER. |
static String |
Sync.StatusColumns.NUM_SOURCE_USER
The number of syncs with SOURCE_USER. |
static String |
Sync.StatusColumns.NUM_SYNCS
How many syncs were completed for this account and authority. |
static String |
Gmail.LabelColumns.NUM_UNREAD_CONVERSATIONS
|
static String |
Contacts.PhonesColumns.NUMBER
The phone number as the user entered it. |
static String |
CallLog.Calls.NUMBER
The phone number as the user entered it. |
static String |
Contacts.PhonesColumns.NUMBER_KEY
The normalized phone number |
static String |
MediaStore.Audio.ArtistColumns.NUMBER_OF_ALBUMS
The number of albums in the database for this artist |
static String |
MediaStore.Audio.AlbumColumns.NUMBER_OF_SONGS
The number of songs on this album |
static String |
MediaStore.Audio.AlbumColumns.NUMBER_OF_SONGS_FOR_ARTIST
This column is available when getting album info via artist, and indicates the number of songs on the album by the given artist. |
static String |
MediaStore.Audio.ArtistColumns.NUMBER_OF_TRACKS
The number of albums in the database for this artist |
static String |
Telephony.Carriers.NUMERIC
|
static String |
Settings.Bookmarks.ORDERING
The order in which the bookmark should be displayed |
static String |
MediaStore.Images.ImageColumns.ORIENTATION
The orientation for the image expressed as degrees. |
static String |
Calendar.EventsColumns.ORIGINAL_ALL_DAY
The allDay status (true or false) of the original recurring event for which this event is an exception. |
static String |
Calendar.EventsColumns.ORIGINAL_EVENT
The _sync_id of the original recurring event for which this event is an exception. |
static String |
Calendar.EventsColumns.ORIGINAL_INSTANCE_TIME
The original instance time of the recurring event for which this event is an exception. |
String |
Gmail.Attachment.originExtras
|
static String |
Im.ContactsColumns.OTR
Off The Record status: 0 for disabled, 1 for enabled |
static String |
Im.BaseMessageColumns.PACKET_ID
Packet ID, auto assigned by the GTalkService for outgoing messages or the GTalk server for incoming messages. |
static String |
Settings.Gservices.PARENTAL_CONTROL_APPS_LIST
The list of applications we need to block if parental control is enabled. |
static String |
Settings.Gservices.PARENTAL_CONTROL_CHECK_ENABLED
Only check parental control status if this is set to "true". |
static String |
Settings.System.PARENTAL_CONTROL_ENABLED
Deprecated. Use Settings.Secure.PARENTAL_CONTROL_ENABLED
instead |
static String |
Settings.Secure.PARENTAL_CONTROL_ENABLED
|
static String |
Settings.Gservices.PARENTAL_CONTROL_EXPECTED_RESPONSE
When parental control is off, we expect to get this string from the litmus url. |
static String |
Settings.System.PARENTAL_CONTROL_LAST_UPDATE
Deprecated. Use Settings.Secure.PARENTAL_CONTROL_LAST_UPDATE
instead |
static String |
Settings.Secure.PARENTAL_CONTROL_LAST_UPDATE
|
static String |
Settings.Gservices.PARENTAL_CONTROL_REDIRECT_REGEX
When the litmus url returns a 302, declare parental control to be on only if the redirect url matches this regular expression. |
static String |
Settings.System.PARENTAL_CONTROL_REDIRECT_URL
Deprecated. Use Settings.Secure.PARENTAL_CONTROL_REDIRECT_URL
instead |
static String |
Settings.Secure.PARENTAL_CONTROL_REDIRECT_URL
|
static String |
Settings.Gservices.PARENTAL_CONTROL_TIMEOUT_IN_MS
Duration in which parental control status is valid. |
String |
Gmail.Attachment.partId
Identifies the attachment uniquely when combined wih a message id. |
static String |
Telephony.Carriers.PASSWORD
|
static String |
Im.AccountColumns.PASSWORD
The password for this account |
static String |
Settings.Gservices.PDP_WATCHDOG_ERROR_POLL_COUNT
The number of polls to perform (at Settings.Gservices.PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS)
after hitting Settings.Gservices.PDP_WATCHDOG_TRIGGER_PACKET_COUNT before
attempting data connection recovery. |
static String |
Settings.Gservices.PDP_WATCHDOG_ERROR_POLL_INTERVAL_MS
The interval in milliseconds at which to check packet counts on the mobile data interface after Settings.Gservices.PDP_WATCHDOG_TRIGGER_PACKET_COUNT
outgoing packets has been reached without incoming packets. |
static String |
Settings.Gservices.PDP_WATCHDOG_LONG_POLL_INTERVAL_MS
The interval in milliseconds at which to check packet counts on the mobile data interface when screen is off, to detect possible data connection problems. |
static String |
Settings.Gservices.PDP_WATCHDOG_MAX_PDP_RESET_FAIL_COUNT
The number of failed PDP reset attempts before moving to something more drastic: re-registering to the network. |
static String |
Settings.Gservices.PDP_WATCHDOG_PING_ADDRESS
Address to ping as a last sanity check before attempting any recovery. |
static String |
Settings.Gservices.PDP_WATCHDOG_PING_DEADLINE
The "-w deadline" parameter for the ping, ie, the max time in seconds to spend pinging. |
static String |
Settings.Gservices.PDP_WATCHDOG_POLL_INTERVAL_MS
The interval in milliseconds at which to check packet counts on the mobile data interface when screen is on, to detect possible data connection problems. |
static String |
Settings.Gservices.PDP_WATCHDOG_TRIGGER_PACKET_COUNT
The number of outgoing packets sent without seeing an incoming packet that triggers a countdown (of Settings.Gservices.PDP_WATCHDOG_ERROR_POLL_COUNT
device is logged to the event log |
static String |
Sync.StatusColumns.PENDING
Is set to 1 if a sync is pending, 0 if not. |
static String |
Downloads.PERMISSION_ACCESS
The permission to access the download manager |
static String |
Downloads.PERMISSION_ACCESS_ADVANCED
The permission to access the download manager's advanced functions |
static String |
Downloads.PERMISSION_CACHE
The permission to directly access the download manager's cache directory |
static String |
Downloads.PERMISSION_SEND_INTENTS
The permission to send broadcasts on download completion |
static String |
Telephony.TextBasedSmsColumns.PERSON
The id of the sender of the conversation, if present |
static String |
Telephony.TextBasedSmsColumns.PERSON_ID
The person ID of the sender |
static String |
Contacts.People.Extensions.PERSON_ID
The ID of the person this phone number is assigned to. |
static String |
Contacts.Phones.PERSON_ID
The ID of the person this phone number is assigned to. |
static String |
Contacts.GroupMembership.PERSON_ID
The row id of the person. |
static String |
Contacts.ContactMethods.PERSON_ID
The ID of the person this contact method is assigned to. |
static String |
Contacts.Presence.PERSON_ID
The ID of the person this presence item is assigned to. |
static String |
Contacts.OrganizationColumns.PERSON_ID
The person this organization is tied to. |
static String |
Contacts.PhotosColumns.PERSON_ID
The person this photo is associated with. |
static String |
Contacts.Extensions.PERSON_ID
The ID of the person this phone number is assigned to. |
static String |
Gmail.ConversationColumns.PERSONAL_LEVEL
|
static String |
Gmail.MessageColumns.PERSONAL_LEVEL
|
static String |
Contacts.Intents.Insert.PHONE
The extra field for the contact phone number. |
static String |
Contacts.Intents.Insert.PHONE_ISPRIMARY
The extra field for the phone isprimary flag. |
static String |
Contacts.Intents.Insert.PHONE_TYPE
The extra field for the contact phone number type. |
static String |
Contacts.PeopleColumns.PHONETIC_NAME
Phonetic equivalent of the person's name, in a locale-dependent character set (e.g. |
static String |
Contacts.Intents.Insert.PHONETIC_NAME
The extra field for the contact phonetic name. |
static String |
Contacts.PeopleColumns.PHOTO_VERSION
The server version of the photo |
static String |
MediaStore.Images.ImageColumns.PICASA_ID
The picasa id of the image |
static String |
MediaStore.Audio.Playlists.Members.PLAY_ORDER
The order of the songs in the playlist |
static String |
MediaStore.Audio.Playlists.Members.PLAYLIST_ID
The ID of the playlist |
static String |
Telephony.Carriers.PORT
|
static String |
Contacts.Intents.Insert.POSTAL
The extra field for the contact postal address. |
static String |
Contacts.Intents.Insert.POSTAL_ISPRIMARY
The extra field for the postal isprimary flag. |
static String |
Contacts.ContactMethods.POSTAL_LOCATION_LATITUDE
The column with latitude data for postal locations |
static String |
Contacts.ContactMethods.POSTAL_LOCATION_LONGITUDE
The column with longitude data for postal locations |
static String |
Contacts.Intents.Insert.POSTAL_TYPE
The extra field for the contact postal address type. |
static String |
Im.CommonPresenceColumns.PRESENCE_CUSTOM_STATUS
The user defined status line. |
static String |
Im.AccountStatusColumns.PRESENCE_STATUS
User's presence status, see definitions in {#link CommonPresenceColumn} |
static String |
Im.CommonPresenceColumns.PRESENCE_STATUS
The server defined status. |
static String |
Telephony.BaseMmsColumns.PREVIOUSLY_SENT_BY
The previously-sent-by of the message. |
static String |
Telephony.BaseMmsColumns.PREVIOUSLY_SENT_DATE
The previously-sent-date of the message. |
static String |
Contacts.People.PRIMARY_EMAIL_ID
The ID of the persons preferred email. |
static String |
Contacts.People.PRIMARY_ORGANIZATION_ID
The ID of the persons preferred organization. |
static String |
Contacts.People.PRIMARY_PHONE_ID
The ID of the persons preferred phone number. |
static String |
Telephony.BaseMmsColumns.PRIORITY
The priority of the message. |
static String |
Im.CommonPresenceColumns.PRIORITY
The priority, an integer, used by XMPP presence |
static String[] |
Calendar.BusyBits.PROJECTION
|
static String |
Telephony.MmsSms.PendingMessages.PROTO_TYPE
The type of transport protocol(MMS or SMS). |
static String |
Telephony.TextBasedSmsColumns.PROTOCOL
The protocol identifier code |
static String |
Im.AccountColumns.PROVIDER
The IM provider for this account |
static String |
Im.ContactsColumns.PROVIDER
The IM provider for this contact |
static String |
Im.ContactListColumns.PROVIDER
|
static String |
Im.BlockedListColumns.PROVIDER
The provider id of the blocked contact. |
static String |
Im.MessagesColumns.PROVIDER
The provider id |
static String |
Im.InvitationColumns.PROVIDER
The provider id. |
static String |
Im.AvatarsColumns.PROVIDER
|
static String |
Im.SessionCookiesColumns.PROVIDER
|
static String |
Im.ProviderSettingsColumns.PROVIDER
The id in database of the related provider |
static String |
Gmail.PROVIDER_CHANGED_EXTRA_ACCOUNT
The account in which the change occurred. |
static String |
Gmail.PROVIDER_CHANGED_EXTRA_COUNT
The number of unread conversations matching the label. |
static String |
Gmail.PROVIDER_CHANGED_EXTRA_GET_ATTENTION
Whether to get the user's attention, perhaps by vibrating. |
static String |
Gmail.PROVIDER_CHANGED_EXTRA_TAG_LABEL
A label that is attached to all of the conversations being notified about. |
static String |
Im.ContactList.PROVIDER_NAME
|
static String |
Im.BlockedList.PROVIDER_NAME
|
static String |
Settings.Gservices.PROVISIONING_DIGEST
The hash value of the current provisioning settings |
static String |
Settings.Gservices.PROVISIONING_OVERRIDE
Provisioning keys to block from server update |
static String |
Telephony.Carriers.PROXY
|
static String[] |
SearchRecentSuggestions.QUERIES_PROJECTION_1LINE
This is the database projection that can be used to view saved queries, when configured for one-line operation. |
static String[] |
SearchRecentSuggestions.QUERIES_PROJECTION_2LINE
This is the database projection that can be used to view saved queries, when configured for two-line operation. |
static String |
Im.ContactsColumns.QUICK_CONTACT
Quick Contact: derived from Google Contact Extension's "message_count" attribute. |
static String |
Telephony.BaseMmsColumns.QUOTAS
The quotas of the message. |
static String |
Settings.System.RADIO_BLUETOOTH
Constant for use in AIRPLANE_MODE_RADIOS to specify Bluetooth radio. |
static String |
Settings.System.RADIO_CELL
Constant for use in AIRPLANE_MODE_RADIOS to specify Cellular radio. |
static String |
Settings.System.RADIO_WIFI
Constant for use in AIRPLANE_MODE_RADIOS to specify Wi-Fi radio. |
static String |
Calendar.EventsColumns.RDATE
The recurrence dates for the event. |
static String |
Telephony.TextBasedSmsColumns.READ
Has the message been read |
static String |
Telephony.BaseMmsColumns.READ
Has the message been read. |
static String |
Telephony.ThreadsColumns.READ
Indicates whether all messages of the thread have been read. |
static String |
Telephony.BaseMmsColumns.READ_REPORT
The read-report of the message. |
static String |
Telephony.BaseMmsColumns.READ_STATUS
The read-status of the message. |
static String |
Settings.Gservices.REBOOT_INTERVAL
How frequently (in DAYS) to reboot the device. |
static String |
Settings.Gservices.REBOOT_START_TIME
First time during the day it is okay to force a reboot of the device (if REBOOT_INTERVAL is set). |
static String |
Settings.Gservices.REBOOT_WINDOW
The window of time (in seconds) after each REBOOT_INTERVAL in which a reboot can be executed. |
static String |
Calendar.CalendarAlertsColumns.RECEIVED_TIME
The time that the alarm broadcast was received by the Calendar app, in UTC. |
static String |
Telephony.ThreadsColumns.RECIPIENT_IDS
A string encoding of the recipient IDs of the recipients of the message, in numerical order and separated by spaces. |
static String |
Telephony.BaseMmsColumns.RECOMMENDED_RETRIEVAL_MODE
The recommended-retrieval-mode of the message. |
static String |
Telephony.BaseMmsColumns.RECOMMENDED_RETRIEVAL_MODE_TEXT
The recommended-retrieval-mode-text of the message. |
static String |
MediaStore.Audio.Media.RECORD_SOUND_ACTION
Activity Action: Start SoundRecorder application. |
static String |
Gmail.MessageColumns.REF_MESSAGE_ID
|
static String |
Im.ContactsColumns.REJECTED
Google Contact Extension attribute Rejected: a boolean value indicating whether a subscription request from this client was ever rejected by the user. |
static String |
Telephony.BaseMmsColumns.REPLACE_ID
The replace-id of the message. |
static String |
Telephony.BaseMmsColumns.REPLY_APPLIC_ID
The reply-applic-id of the message. |
static String |
Telephony.BaseMmsColumns.REPLY_CHARGING
The reply-charging of the message. |
static String |
Telephony.BaseMmsColumns.REPLY_CHARGING_DEADLINE
The reply-charging-deadline of the message. |
static String |
Telephony.BaseMmsColumns.REPLY_CHARGING_DEADLINE_TOKEN
The reply-charging-deadline-token of the message. |
static String |
Telephony.BaseMmsColumns.REPLY_CHARGING_ID
The reply-charging-id of the message. |
static String |
Telephony.BaseMmsColumns.REPLY_CHARGING_SIZE
The reply-charging-size of the message. |
static String |
Telephony.TextBasedSmsColumns.REPLY_PATH_PRESENT
Whether the TP-Reply-Path bit was set on this message |
static String |
Gmail.MessageColumns.REPLY_TO
|
static String |
Telephony.BaseMmsColumns.REPORT_ALLOWED
Whether the report is allowed. |
static String |
MediaStore.Video.VideoColumns.RESOLUTION
The resolution of the video file, formatted as "XxY" |
static String |
Gmail.RESPOND_INPUT_COMMAND
|
static String |
Gmail.RESPOND_OUTPUT_COMMAND_RESPONSE
|
static String |
Telephony.BaseMmsColumns.RESPONSE_STATUS
The response-status of the message. |
static String |
Telephony.BaseMmsColumns.RESPONSE_TEXT
The response-text of the message. |
static String |
Telephony.BaseMmsColumns.RETRIEVE_STATUS
The retrieve-status of the message. |
static String |
Telephony.BaseMmsColumns.RETRIEVE_TEXT
The retrieve-text of the message. |
static String |
Telephony.BaseMmsColumns.RETRIEVE_TEXT_CHARSET
The character set of the retrieve-text. |
static String |
Telephony.MmsSms.PendingMessages.RETRY_INDEX
How many times we tried to send or download the message. |
static String |
Settings.System.RINGTONE
Persistent store for the system-wide default ringtone URI. |
static String |
Im.OutgoingRmqColumns.RMQ_ID
|
static String |
Im.LastRmqIdColumns.RMQ_ID
|
static String |
Calendar.EventsColumns.RRULE
The recurrence rule for the event. |
static String |
Settings.System.SCREEN_BRIGHTNESS
The screen backlight brightness between 0 and 255. |
static String |
Settings.System.SCREEN_OFF_TIMEOUT
The timeout before the screen turns off. |
static String |
Browser.SearchColumns.SEARCH
|
static String |
Contacts.Intents.SEARCH_SUGGESTION_CLICKED
This is the intent that is fired when a search suggestion is clicked on. |
static String |
Contacts.Intents.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED
This is the intent that is fired when a search suggestion for creating a contact is clicked on. |
static String |
Contacts.Intents.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED
This is the intent that is fired when a search suggestion for dialing a number is clicked on. |
static String[] |
Browser.SEARCHES_PROJECTION
|
static String |
Contacts.Intents.Insert.SECONDARY_EMAIL
The extra field for an optional second contact email address. |
static String |
Contacts.Intents.Insert.SECONDARY_EMAIL_TYPE
The extra field for an optional second contact email type. |
static String |
Contacts.Intents.Insert.SECONDARY_PHONE
The extra field for an optional second contact phone number. |
static String |
Contacts.Intents.Insert.SECONDARY_PHONE_TYPE
The extra field for an optional second contact phone number type. |
static String |
Telephony.Intents.SECRET_CODE_ACTION
Broadcast Action: A "secret code" has been entered in the dialer. |
static String |
Calendar.CalendarsColumns.SELECTED
Is the calendar selected to be displayed? |
static String |
Calendar.EventsColumns.SELF_ATTENDEE_STATUS
This is a copy of the attendee status for the owner of this event. |
static String |
Contacts.PeopleColumns.SEND_TO_VOICEMAIL
Whether the person should always be sent to voicemail. |
static String |
Im.InvitationColumns.SENDER
The name of the sender of the invitation. |
static String |
Gmail.SENDER_LIST_TOKEN_ELIDED
|
static String |
Gmail.SENDER_LIST_TOKEN_LITERAL
|
static String |
Gmail.SENDER_LIST_TOKEN_NUM_DRAFTS
|
static String |
Gmail.SENDER_LIST_TOKEN_NUM_MESSAGES
|
static String |
Gmail.SENDER_LIST_TOKEN_SEND_FAILED
|
static String |
Gmail.SENDER_LIST_TOKEN_SENDING
|
static String |
Telephony.BaseMmsColumns.SENDER_VISIBILITY
The sender-visibility of the message. |
static String |
Telephony.Mms.Rate.SENT_TIME
When a message was successfully sent. |
static String |
Telephony.Mms.Part.SEQ
The order of the part. |
static String |
Telephony.Carriers.SERVER
|
static String |
SubscribedFeeds.FeedColumns.SERVICE
The gaia service this feed is for (used for authentication). |
static String |
Telephony.TextBasedSmsColumns.SERVICE_CENTER
The service center (SC) through which to send the message, if present |
static String |
Gmail.SET_VISIBLE_PARAM_VISIBLE
|
static String |
Im.ProviderSettings.SETTING_AUTOMATICALLY_CONNECT_GTALK
controls whether or not the GTalk service automatically connect to server. |
static String |
Im.ProviderSettings.SETTING_AUTOMATICALLY_START_SERVICE
controls whether or not the IM service will be automatically started after boot |
static String |
Sync.Settings.SETTING_BACKGROUND_DATA
controls whether or not the device connect to Google in background for various stuff, including GTalk, checkin, Market and data sync ... |
static String |
Im.ProviderSettings.SETTING_ENABLE_NOTIFICATION
controls whether or not enable the IM notification |
static String |
Im.ProviderSettings.SETTING_HIDE_OFFLINE_CONTACTS
controls whether or not the offline contacts will be hided |
static String |
Sync.Settings.SETTING_LISTEN_FOR_TICKLES
controls whether or not the device listens for sync tickles |
static String |
Im.ProviderSettings.SETTING_RINGTONE
specifies the Uri string of the ringtone |
static String |
Im.ProviderSettings.SETTING_RINGTONE_DEFAULT
specifies the Uri of the default ringtone |
static String |
Im.ProviderSettings.SETTING_SHOW_MOBILE_INDICATOR
specifies whether or not to show mobile indicator to friends |
static String |
Sync.Settings.SETTING_SYNC_PROVIDER_PREFIX
controls whether or not the individual provider is synced when tickles are received |
static String |
Im.ProviderSettings.SETTING_VIBRATE
specifies whether or not to vibrate |
static String |
Settings.System.SETTINGS_CLASSNAME
Deprecated. Use Settings.Secure.SETTINGS_CLASSNAME instead |
static String |
Settings.Secure.SETTINGS_CLASSNAME
Settings classname to launch when Settings is clicked from All Applications. |
static String |
Settings.Gservices.SETTINGS_CONTRIBUTORS_PRETTY_URL
URL that points to the contributors to display in Settings. |
static String |
Settings.Gservices.SETTINGS_CONTRIBUTORS_URL
URL that points to the contributors to display in Settings. |
static String |
Settings.Gservices.SETTINGS_TOS_PRETTY_URL
URL that points to the legal terms of service to display in Settings. |
static String |
Settings.Gservices.SETTINGS_TOS_URL
URL that points to the legal terms of service to display in Settings. |
static String |
Settings.Gservices.SETUP_ANDROID_PRIVACY_URL
URL that points to the Android privacy policy for the device. |
static String |
Settings.Gservices.SETUP_GOOGLE_PRIVACY_URL
URL that points to the Google privacy policy for the device. |
static String |
Settings.Gservices.SETUP_GOOGLE_TOS_URL
URL that points to the Terms Of Service for the device. |
static String |
Settings.System.SETUP_WIZARD_HAS_RUN
Whether the setup wizard has been run before (on first boot), or if it still needs to be run. |
static String |
Settings.Gservices.SHORT_KEYLIGHT_DELAY_MS
Screen timeout in milliseconds corresponding to the PowerManager's POKE_LOCK_SHORT_TIMEOUT flag (i.e. |
static String |
Settings.Bookmarks.SHORTCUT
Optional shortcut character associated with this bookmark. |
static String |
Im.ChatsColumns.SHORTCUT
A value from 0-9 indicating which quick-switch chat screen slot this chat is occupying. |
static String |
Contacts.GroupsColumns.SHOULD_SYNC
Whether this group should be synced if the SYNC_EVERYTHING settings is false for this group's account. |
static String |
Settings.System.SHOW_GTALK_SERVICE_STATUS
|
static String |
Im.ProviderSettings.SHOW_OFFLINE_CONTACTS
A boolean value to indicate whether this provider should show the offline contacts |
static String |
Settings.System.SHOW_PROCESSES
Control whether the process CPU usage meter should be shown. |
static String |
Im.ProviderColumns.SIGNUP_URL
The url users should visit to create a new account for this provider |
static String |
Telephony.Sms.Intents.SIM_FULL_ACTION
Broadcast Action: The SIM storage for SMS messages is full. |
String |
Gmail.Attachment.simpleContentType
The content type of the simple version of the attachment. |
static String |
MediaStore.MediaColumns.SIZE
The size of the file in bytes |
static String |
OpenableColumns.SIZE
The number of bytes in the file identified by the openable URI. |
static String |
DrmStore.Columns.SIZE
The size of the file in bytes |
static String |
Settings.Gservices.SMS_OUTGOING_CEHCK_INTERVAL_MS
The interval in milliseconds at which to check the number of SMS sent out without asking for use permit, to limit the un-authorized SMS usage. |
static String |
Settings.Gservices.SMS_OUTGOING_CEHCK_MAX_COUNT
The number of outgoing SMS sent without asking for user permit (of Settings.Gservices.SMS_OUTGOING_CEHCK_INTERVAL_MS |
static String |
Telephony.Sms.Intents.SMS_RECEIVED_ACTION
Broadcast Action: A new text based SMS message has been received by the device. |
static String |
Telephony.Sms.Conversations.SNIPPET
The first 45 characters of the body of the message |
static String |
Telephony.ThreadsColumns.SNIPPET
The snippet of the latest message in the thread. |
static String |
Gmail.ConversationColumns.SNIPPET
|
static String |
Gmail.MessageColumns.SNIPPET
|
static String |
Telephony.ThreadsColumns.SNIPPET_CHARSET
The charset of the snippet. |
static String |
Calendar.Instances.SORT_CALENDAR_VIEW
The sort order is: events with an earlier start time occur first and if the start times are the same, then events with a later end time occur first. |
static String |
Settings.System.SOUND_EFFECTS_ENABLED
Whether the sounds effects (key clicks, lid open ...) are enabled. |
static String |
Sync.HistoryColumns.SOURCE
The source of the sync event (LOCAL, POLL, USER, SERVER). |
static String[] |
Sync.History.SOURCES
String names for the sync source types. |
static String |
Telephony.Intents.SPN_STRINGS_UPDATED_ACTION
Broadcast Action: The Service Provider string(s) have been updated. |
static String[] |
Gmail.sSenderFragments
|
static String |
Contacts.PeopleColumns.STARRED
Is the contact starred? |
static String |
Telephony.BaseMmsColumns.START
The start of the message. |
static String |
Calendar.Instances.START_DAY
The Julian start day of the instance, relative to the local timezone |
static String |
Calendar.Instances.START_MINUTE
The start minute of the instance measured from midnight in the local timezone. |
static String |
Sync.ActiveColumns.START_TIME
The wallclock time of when the active sync started. |
static String |
Calendar.CalendarAlertsColumns.STATE
The state of this alert. |
static String |
Sync.HistoryColumns.STATS_ID
The ID of the stats row corresponding to this event. |
static String |
Telephony.TextBasedSmsColumns.STATUS
The TP-Status value for the message, or -1 if no status has been received |
static String |
Telephony.BaseMmsColumns.STATUS
The status of the message. |
static String |
Im.InvitationColumns.STATUS
The current status of the invitation. |
static String |
Gmail.AttachmentColumns.STATUS
Contains a STATUS value from Downloads |
static String |
Calendar.EventsColumns.STATUS
The event status |
static String |
Telephony.BaseMmsColumns.STATUS_TEXT
The status-text of the message. |
static String |
Settings.System.STAY_ON_WHILE_PLUGGED_IN
Whether we keep the device on while the device is plugged in. |
static String |
Telephony.BaseMmsColumns.STORE
The store of the message. |
static String |
Telephony.BaseMmsColumns.STORE_STATUS
The store-status of the message. |
static String |
Telephony.BaseMmsColumns.STORE_STATUS_TEXT
The store-status-text of the message. |
static String |
Telephony.BaseMmsColumns.STORED
The stored of the message. |
static String |
Telephony.TextBasedSmsColumns.SUBJECT
The subject of the message, if present |
static String |
Telephony.BaseMmsColumns.SUBJECT
The subject of the message, if present. |
static String |
Gmail.ConversationColumns.SUBJECT
|
static String |
Gmail.MessageColumns.SUBJECT
|
static String |
Telephony.BaseMmsColumns.SUBJECT_CHARSET
The character set of the subject, if present. |
static String |
Im.ContactsColumns.SUBSCRIPTION_STATUS
Contact subscription status |
static String |
Im.ContactsColumns.SUBSCRIPTION_TYPE
Contact subscription type |
static String |
Checkin.Stats.SUM
|
static String |
Contacts.PhotosColumns.SYNC_ERROR
Contains the description of the upload or download error from the previous attempt. |
static String |
Calendar.CalendarsColumns.SYNC_EVENTS
If this calendar is in the list of calendars that are selected for syncing then "sync_events" is 1, otherwise 0. |
static String |
Contacts.Settings.SYNC_EVERYTHING
A setting that is used to indicate if we should sync down all groups for the specified account. |
static String |
Settings.Gservices.SYNC_MAX_RETRY_DELAY_IN_SECONDS
The maximum reconnect delay for short network outages or when the network is suspended due to phone use. |
static String |
Settings.Gservices.SYNC_MIN_GZIP_BYTES
How many bytes long a message has to be, in order to be gzipped. |
static String[] |
Sync.Stats.SYNC_STATS_PROJECTION
Projection for the _id column in the stats table. |
static String |
Settings.Gservices.SYS_FREE_STORAGE_LOG_INTERVAL
The interval in minutes after which the amount of free storage left on the device is logged to the event log |
static String |
Settings.System.SYS_PROP_SETTING_VERSION
|
static String |
Settings.Secure.SYS_PROP_SETTING_VERSION
|
static String |
Settings.Gservices.SYS_PROP_SETTING_VERSION
|
static String |
Settings.Gservices.SYS_STORAGE_THRESHOLD_PERCENTAGE
Minimum percentage of free storage on the device that is used to determine if the device is running low on storage. |
static String |
Contacts.GroupsColumns.SYSTEM_ID
The ID of this group if it is a System Group, null otherwise. |
static String |
Checkin.Events.TABLE_NAME
|
static String |
Checkin.Stats.TABLE_NAME
|
static String |
Checkin.Properties.TABLE_NAME
|
static String |
Checkin.Crashes.TABLE_NAME
|
static String |
Calendar.Reminders.TABLE_NAME
|
static String |
Calendar.CalendarAlerts.TABLE_NAME
|
static String |
Checkin.Events.TAG
|
static String |
Checkin.Stats.TAG
|
static String |
Checkin.Properties.TAG
|
static String |
Calendar.TAG
|
static String |
MediaStore.Video.VideoColumns.TAGS
The user-added tags associated with a video |
static String |
Contacts.Intents.Insert.TERTIARY_EMAIL
The extra field for an optional third contact email address. |
static String |
Contacts.Intents.Insert.TERTIARY_EMAIL_TYPE
The extra field for an optional third contact email type. |
static String |
Contacts.Intents.Insert.TERTIARY_PHONE
The extra field for an optional third contact phone number. |
static String |
Contacts.Intents.Insert.TERTIARY_PHONE_TYPE
The extra field for an optional third contact phone number type. |
static String |
Settings.System.TEXT_AUTO_CAPS
Setting to enable Auto Caps in text editors. |
static String |
Settings.System.TEXT_AUTO_PUNCTUATE
Setting to enable Auto Punctuate in text editors. |
static String |
Settings.System.TEXT_AUTO_REPLACE
Setting to enable Auto Replace (AutoText) in text editors. |
static String |
Settings.System.TEXT_SHOW_PASSWORD
Setting to showing password characters in text editors. |
static String |
Telephony.TextBasedSmsColumns.THREAD_ID
The thread ID of the message |
static String |
Telephony.BaseMmsColumns.THREAD_ID
The thread ID of the message |
static String |
Settings.System.TIME_12_24
Display times as 12 or 24 hours 12 24 |
static String |
Contacts.PeopleColumns.TIMES_CONTACTED
The number of times a person has been contacted |
static String |
Im.OutgoingRmqColumns.TIMESTAMP
|
static String |
Calendar.CalendarsColumns.TIMEZONE
The timezone the calendar's events occurs in |
static String |
Browser.BookmarkColumns.TITLE
|
static String |
Settings.Bookmarks.TITLE
Descriptive name of the bookmark that can be displayed to the user. |
static String |
Contacts.OrganizationColumns.TITLE
The title within this organization. |
static String |
MediaStore.MediaColumns.TITLE
The title of the content |
static String |
DrmStore.Columns.TITLE
The title of the file content |
static String |
Calendar.EventsColumns.TITLE
The title of the event |
static String |
Contacts.Intents.UI.TITLE_EXTRA_KEY
A key for to be used as an intent extra to set the activity title to a custom String value. |
static String |
MediaStore.Audio.AudioColumns.TITLE_KEY
A non human readable key calculated from the TITLE, used for searching, sorting and grouping |
static String |
Telephony.BaseMmsColumns.TO
The address of the recipients. |
static String |
Gmail.MessageColumns.TO
|
static String |
Sync.StatusColumns.TOTAL_ELAPSED_TIME
How long all the events for this account and authority took. |
static String |
Telephony.BaseMmsColumns.TOTALS
The totals of the message. |
static String |
MediaStore.Audio.AudioColumns.TRACK
The track number of this song on the album, if any. |
static String |
Telephony.BaseMmsColumns.TRANSACTION_ID
The transaction-id of the message. |
static String |
Settings.System.TRANSITION_ANIMATION_SCALE
Scaling factor for activity transition animations. |
static String |
Calendar.EventsColumns.TRANSPARENCY
Transparency for the event -- does the event consume time on the calendar? |
static String[] |
Browser.TRUNCATE_HISTORY_PROJECTION
|
static String |
Telephony.TextBasedSmsColumns.TYPE
The type of the message |
static String |
Telephony.ThreadsColumns.TYPE
Type of the thread, either Threads.COMMON_THREAD or Threads.BROADCAST_THREAD. |
static String |
Telephony.Mms.Addr.TYPE
Type of address, must be one of PduHeaders.BCC, PduHeaders.CC, PduHeaders.FROM, PduHeaders.TO. |
static String |
Telephony.Carriers.TYPE
|
static String |
Im.ContactsColumns.TYPE
Contact type |
static String |
Im.BaseMessageColumns.TYPE
Message Type, see Im.MessageType |
static String |
Im.OutgoingRmqColumns.TYPE
|
static String |
Contacts.PhonesColumns.TYPE
The type of the the phone number. |
static String |
Contacts.ContactMethodsColumns.TYPE
The type of the contact method, must be one of the types below. |
static String |
Contacts.OrganizationColumns.TYPE
The type of the organizations. |
static String |
CallLog.Calls.TYPE
The type of the the phone number. |
static String |
Telephony.MmsSms.TYPE_DISCRIMINATOR_COLUMN
The column to distinguish SMS & MMS messages in query results. |
static String |
Im.ChatsColumns.UNSENT_COMPOSED_MESSAGE
A message that is being composed. |
static String |
Sync.HistoryColumns.UPSTREAM_ACTIVITY
How much activity was performed sending data to the server. |
static String |
Browser.BookmarkColumns.URL
|
static String |
Browser.SearchColumns.URL
|
static String |
Calendar.Calendars.URL
The URL to the calendar |
static String |
Settings.System.USB_MASS_STORAGE_ENABLED
Deprecated. Use Settings.Secure.USB_MASS_STORAGE_ENABLED instead |
static String |
Settings.Secure.USB_MASS_STORAGE_ENABLED
USB Mass Storage Enabled |
static String |
Settings.System.USE_GOOGLE_MAIL
Deprecated. Use Settings.Secure.USE_GOOGLE_MAIL instead |
static String |
Settings.Secure.USE_GOOGLE_MAIL
If this setting is set (to anything), then all references to Gmail on the device must change to Google Mail. |
static String |
Settings.Gservices.USE_MSISDN_TOKEN
Request an MSISDN token for various Google services. |
static String |
Telephony.Carriers.USER
|
static String |
Im.AccountColumns.USERNAME
The username for this account |
static String |
Im.ContactsColumns.USERNAME
The username |
static String |
Im.BlockedListColumns.USERNAME
The username of the blocked contact. |
static String |
Im.GroupMemberColumns.USERNAME
The full name of this member. |
static String |
Settings.NameValueTable.VALUE
|
static String |
Im.SessionCookiesColumns.VALUE
|
static String |
Im.ProviderSettingsColumns.VALUE
The value of the setting |
static String |
Checkin.Events.VALUE
|
static String |
Checkin.Properties.VALUE
|
static String |
Contacts.SettingsColumns.VALUE
The value of this setting. |
static String |
Contacts.ExtensionsColumns.VALUE
The value of this extension. |
static String |
Sync.SettingsColumns.VALUE
The value of the settings |
static String |
Calendar.ExtendedPropertiesColumns.VALUE
The value of the extended property. |
static String |
Settings.Gservices.VENDING_REQUIRE_SIM_FOR_PURCHASE
Indicates if Vending Machine requires a SIM to be in the phone to allow a purchase. |
static String |
Settings.Gservices.VENDING_SUPPORT_URL
Support URL that is opened in a browser when user clicks on 'Help and Info' in Vending Machine. |
static String |
Settings.Gservices.VENDING_SYNC_FREQUENCY_MS
Frequency in milliseconds at which we should sync the locally installed Vending Machine content with the server. |
static String |
Settings.Gservices.VENDING_TOS_URL
URL that points to the terms of service for Vending Machine. |
static String |
Settings.Gservices.VENDING_TOS_VERSION
The current version id of the Vending Machine terms of service. |
static String |
Settings.Gservices.VENDING_USE_CHECKOUT_QA_SERVICE
Whether to use sierraqa instead of sierra tokens for the purchase flow in Vending Machine. |
static String |
Settings.System.VIBRATE_ON
Whether vibrate is on for different events. |
static String |
Calendar.EventsColumns.VISIBILITY
Visibility for the event. |
static String |
Browser.BookmarkColumns.VISITS
|
static String |
Settings.Gservices.VOICE_SEARCH_ENCODING_THREE_G
Speech encoding used with voice search on 3G networks. |
static String |
Settings.Gservices.VOICE_SEARCH_ENCODING_WIFI
Speech encoding used with voice search on WIFI networks. |
static String |
Settings.Gservices.VOICE_SEARCH_URL
URL that points to the voice search servers. |
static String |
Settings.System.VOLUME_ALARM
Alarm volume. |
static String |
Settings.System.VOLUME_MUSIC
Music/media/gaming volume. |
static String |
Settings.System.VOLUME_NOTIFICATION
Notification volume. |
static String |
Settings.System.VOLUME_RING
Ringer volume. |
static String[] |
Settings.System.VOLUME_SETTINGS
The mapping of stream type (integer) to its setting. |
static String |
Settings.System.VOLUME_SYSTEM
System/notifications volume. |
static String |
Settings.System.VOLUME_VOICE
Voice call volume. |
static String |
Settings.System.WAIT_FOR_DEBUGGER
If 1, when launching DEBUG_APP it will wait for the debugger before starting user code. |
static String |
Settings.System.WALLPAPER_ACTIVITY
Name of activity to use for wallpaper on the home screen. |
static String |
Telephony.Sms.Intents.WAP_PUSH_RECEIVED_ACTION
Broadcast Action: A new WAP PUSH message has been received by the device. |
static String |
MediaStore.Images.Thumbnails.WIDTH
The width of the thumbnal |
static String |
Settings.System.WIFI_IDLE_MS
The interval in milliseconds after which Wi-Fi is considered idle. |
static String |
Settings.System.WIFI_MAX_DHCP_RETRY_COUNT
Deprecated. |
static String |
Settings.Secure.WIFI_MAX_DHCP_RETRY_COUNT
The maximum number of times we will retry a connection to an access point for which we have failed in acquiring an IP address from DHCP. |
static String |
Settings.System.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
Deprecated. |
static String |
Settings.Secure.WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
Maximum amount of time in milliseconds to hold a wakelock while waiting for mobile data connectivity to be established after a disconnect from Wi-Fi. |
static String |
Settings.System.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
Deprecated. Use Settings.Secure.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON instead |
static String |
Settings.Secure.WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
Whether to notify the user of open networks. |
static String |
Settings.System.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
Deprecated. Use Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY instead |
static String |
Settings.Secure.WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
Delay (in seconds) before repeating the Wi-Fi networks available notification. |
static String |
Settings.System.WIFI_NUM_ALLOWED_CHANNELS
The number of radio channels that are allowed in the local 802.11 regulatory domain. |
static String |
Settings.Secure.WIFI_NUM_ALLOWED_CHANNELS
The number of radio channels that are allowed in the local 802.11 regulatory domain. |
static String |
Settings.System.WIFI_NUM_OPEN_NETWORKS_KEPT
Deprecated. Use Settings.Secure.WIFI_NUM_OPEN_NETWORKS_KEPT
instead |
static String |
Settings.Secure.WIFI_NUM_OPEN_NETWORKS_KEPT
When the number of open networks exceeds this number, the least-recently-used excess networks will be removed. |
static String |
Settings.System.WIFI_ON
Deprecated. Use Settings.Secure.WIFI_ON instead |
static String |
Settings.Secure.WIFI_ON
Whether the Wi-Fi should be on. |
static String |
Settings.System.WIFI_SLEEP_POLICY
The policy for deciding when Wi-Fi should go to sleep (which will in turn switch to using the mobile data as an Internet connection). |
static String |
Settings.System.WIFI_STATIC_DNS1
If using static IP, the primary DNS's IP address. |
static String |
Settings.System.WIFI_STATIC_DNS2
If using static IP, the secondary DNS's IP address. |
static String |
Settings.System.WIFI_STATIC_GATEWAY
If using static IP, the gateway's IP address. |
static String |
Settings.System.WIFI_STATIC_IP
The static IP address. |
static String |
Settings.System.WIFI_STATIC_NETMASK
If using static IP, the net mask. |
static String |
Settings.System.WIFI_USE_STATIC_IP
Whether to use static IP and other static network attributes. |
static String |
Settings.System.WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
instead |
static String |
Settings.Secure.WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
The acceptable packet loss percentage (range 0 - 100) before trying another AP on the same network. |
static String |
Settings.System.WIFI_WATCHDOG_AP_COUNT
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_AP_COUNT instead |
static String |
Settings.Secure.WIFI_WATCHDOG_AP_COUNT
The number of access points required for a network in order for the watchdog to monitor it. |
static String |
Settings.System.WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS instead |
static String |
Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS
The delay between background checks. |
static String |
Settings.System.WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED instead |
static String |
Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED
Whether the Wi-Fi watchdog is enabled for background checking even after it thinks the user has connected to a good access point. |
static String |
Settings.System.WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
instead |
static String |
Settings.Secure.WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
The timeout for a background ping |
static String |
Settings.System.WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT instead |
static String |
Settings.Secure.WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT
The number of initial pings to perform that *may* be ignored if they fail. |
static String |
Settings.System.WIFI_WATCHDOG_MAX_AP_CHECKS
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_MAX_AP_CHECKS
instead |
static String |
Settings.Secure.WIFI_WATCHDOG_MAX_AP_CHECKS
The maximum number of access points (per network) to attempt to test. |
static String |
Settings.System.WIFI_WATCHDOG_ON
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_ON instead |
static String |
Settings.Secure.WIFI_WATCHDOG_ON
Whether the Wi-Fi watchdog is enabled. |
static String |
Settings.System.WIFI_WATCHDOG_PING_COUNT
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_PING_COUNT instead |
static String |
Settings.Secure.WIFI_WATCHDOG_PING_COUNT
The number of pings to test if an access point is a good connection. |
static String |
Settings.System.WIFI_WATCHDOG_PING_DELAY_MS
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_PING_DELAY_MS
instead |
static String |
Settings.Secure.WIFI_WATCHDOG_PING_DELAY_MS
The delay between pings. |
static String |
Settings.System.WIFI_WATCHDOG_PING_TIMEOUT_MS
Deprecated. Use Settings.Secure.WIFI_WATCHDOG_PING_TIMEOUT_MS
instead |
static String |
Settings.Secure.WIFI_WATCHDOG_PING_TIMEOUT_MS
The timeout per ping. |
static String |
Settings.Secure.WIFI_WATCHDOG_WATCH_LIST
A comma-separated list of SSIDs for which the Wi-Fi watchdog should be enabled. |
static String |
Settings.System.WINDOW_ANIMATION_SCALE
Scaling factor for normal window animations. |
static String |
UserDictionary.Words.WORD
The word column. |
static String |
Im.ProviderNames.YAHOO
|
static String |
Im.ProviderCategories.YAHOO
|
static String |
MediaStore.Audio.AudioColumns.YEAR
The year the audio file was recorded, if any |
static String |
Settings.Gservices.YOUTUBE_USE_PROXY
YouTube - the flag to indicate whether to use proxy |
| Methods in android.provider that return String | |
|---|---|
static String |
Contacts.ContactMethods.encodeCustomImProtocol(String protocolString)
|
static String |
Contacts.ContactMethods.encodePredefinedImProtocol(int protocol)
|
static String |
Telephony.Mms.extractAddrSpec(String address)
|
String |
Gmail.MailCursor.getAccount()
Gets the account associated with this cursor. |
String[] |
Gmail.MessageCursor.getBccAddresses()
Gets the message's bcc addresses. |
static String |
Settings.Secure.getBluetoothA2dpSinkPriorityKey(String address)
Get the key that retrieves a bluetooth a2dp sink's priority. |
static String |
Settings.Secure.getBluetoothHeadsetPriorityKey(String address)
Get the key that retrieves a bluetooth headset's priority. |
String |
Gmail.MessageCursor.getBody()
Gets the message's body. |
String |
Gmail.LabelMap.getCanonicalName(long labelId)
|
String[] |
Gmail.MessageCursor.getCcAddresses()
Gets the message's cc addresses. |
static String |
Gmail.getEmailFromAddressString(String addressString)
Returns the email address in an address string |
String |
Gmail.MessageCursor.getErrorText()
|
String |
Gmail.MessageCursor.getFromAddress()
Gets the message's from address. |
String |
Gmail.ConversationCursor.getFromSnippetInstructions()
Returns the instructions for building from snippets. |
static String |
Settings.getGTalkDeviceId(long androidId)
Returns the device ID that we should use when connecting to the mobile gtalk server. |
static String |
Settings.getJidResource()
Returns the GTalk JID resource associated with this device. |
static String |
Gmail.getLabelIdsStringFromLabelIds(Set<Long> labelIds)
Creates a single string of the form that getLabelIdsFromLabelIdsString can split. |
String |
Gmail.MessageCursor.getListInfo()
|
static String |
Telephony.Mms.getMessageBoxName(int msgBox)
|
String |
Gmail.LabelCursor.getName()
Gets the canonical name of the current label. |
String |
Gmail.LabelMap.getName(long labelId)
|
static String |
Gmail.getNameFromAddressString(String addressString)
Returns the name in an address string |
static String |
Im.Provider.getProviderCategoryFromName(String providername)
This returns the provider category given a provider name. |
static String |
Im.Provider.getProviderNameForCategory(String providerCategory)
This returns the provider name given a provider category. |
static String |
Im.Provider.getProviderNameForId(ContentResolver cr,
long providerId)
|
String |
Gmail.MessageCursor.getRawLabelIds()
|
String |
Gmail.ConversationCursor.getRawLabelIds()
|
String[] |
Gmail.MessageCursor.getReplyToAddress()
Gets the message's replyTo address. |
String |
Im.ProviderSettings.QueryMap.getRingtoneURI()
Get the Uri String of the current ringtone. |
static String |
Im.ContactsEtag.getRosterEtag(ContentResolver resolver,
long accountId)
|
static String |
Contacts.Settings.getSetting(ContentResolver cr,
String account,
String key)
|
String |
Gmail.MessageCursor.getSnippet()
Gets the message's snippet (the short piece of the body). |
String |
Gmail.ConversationCursor.getSnippet()
Gets the conversation's snippet. |
static String |
Settings.System.getString(ContentResolver resolver,
String name)
Look up a name in the database. |
static String |
Settings.Secure.getString(ContentResolver resolver,
String name)
Look up a name in the database. |
static String |
Settings.Gservices.getString(ContentResolver resolver,
String name)
Look up a name in the database. |
String |
Settings.Gservices.QueryMap.getString(String name)
Deprecated. |
protected String |
Gmail.MailCursor.getStringInColumn(int columnIndex)
Returns the string value of the column, or "" if the value is null. |
static String |
Im.ProviderSettings.getStringValue(ContentResolver cr,
long providerId,
String settingName)
Get the string value of setting which is specified by provider id and the setting name. |
String |
Gmail.MessageCursor.getSubject()
Gets the message's subject. |
String |
Gmail.ConversationCursor.getSubject()
Gets the conversation's subject. |
String |
Sync.Active.QueryMap.getSyncingAccount()
|
String |
Sync.Active.QueryMap.getSyncingAuthority()
|
String[] |
Gmail.MessageCursor.getToAddresses()
Gets the message's to addresses. |
static String |
SubscribedFeeds.gtalkServiceRoutingInfoFromAccountAndResource(String account,
String res)
|
static String |
MediaStore.Images.Media.insertImage(ContentResolver cr,
Bitmap source,
String title,
String description)
Insert an image and create a thumbnail for it. |
static String |
MediaStore.Images.Media.insertImage(ContentResolver cr,
String imagePath,
String name,
String description)
Insert an image and create a thumbnail for it. |
static String |
Gmail.MessageModification.joinedAttachmentsString(List<Gmail.Attachment> attachments)
The string produced here is parsed by Gmail.MessageCursor#getAttachmentInfos. |
static String |
MediaStore.Audio.keyFor(String name)
Converts a name to a "key" that can be used for grouping, sorting and searching. |
static String |
Gmail.AttachmentOrigin.localFileExtras(Uri path)
|
static String |
Contacts.ContactMethods.lookupProviderCategoryFromId(int protocol)
This looks up the provider category defined in Im.ProviderCategories from the predefined IM protocol id. |
static String |
Sync.History.mesgToString(String mesg)
|
static String |
Gmail.AttachmentOrigin.serverExtras(long conversationId,
long messageId,
String partId)
|
static String[] |
Gmail.AttachmentOrigin.splitServerExtras(String extras)
|
String |
Gmail.Attachment.toJoinedString()
|
| Methods in android.provider that return types with arguments of type String | |
|---|---|
static Set<String> |
Gmail.getCanonicalNamesFromLabelIdsString(Gmail.LabelMap labelMap,
TextUtils.StringSplitter splitter)
Deprecated. remove when the activities stop using canonical names to identify labels |
static Set<String> |
Gmail.LabelMap.getForcedIncludedLabels()
|
static Set<String> |
Gmail.LabelMap.getForcedIncludedOrPartialLabels()
|
static Set<String> |
Gmail.LabelMap.getForcedUnsyncedLabels()
|
Set<String> |
Gmail.ConversationCursor.getLabels()
Deprecated. use getLabelIds |
Set<String> |
Gmail.ConversationCursor.getLabels(String rawLabelIds,
Gmail.LabelMap labelMap)
Returns the set of labels using the raw labels from a previous getRawLabels() as input. |
SortedSet<String> |
Gmail.LabelMap.getSortedUserLabels()
Returns the list of user-defined labels in alphabetical order. |
static List<String> |
Gmail.LabelMap.getSortedUserMeaningfulSystemLabels()
|
static HashMap<String,String> |
Im.ProviderSettings.queryProviderSettings(ContentResolver cr,
long providerId)
Query the settings of the provider specified by id |
static HashMap<String,String> |
Im.ProviderSettings.queryProviderSettings(ContentResolver cr,
long providerId)
Query the settings of the provider specified by id |
| Methods in android.provider with parameters of type String | |
|---|---|
static Uri |
Settings.Bookmarks.add(ContentResolver cr,
Intent intent,
String title,
String folder,
char shortcut,
int ordering)
Add a new bookmark to the system. |
static Uri |
CallLog.Calls.addCall(com.android.internal.telephony.CallerInfo ci,
Context context,
String number,
boolean isPrivateNumber,
int callType,
long start,
int duration)
Adds a call to the call log. |
static Intent |
DrmStore.addDrmFile(ContentResolver cr,
File file,
String title)
Utility function for inserting a file into the DRM content provider. |
static Uri |
SubscribedFeeds.addFeed(ContentResolver resolver,
String feed,
String account,
String authority,
String service)
A convenience method to add a feed to the SubscribedFeeds content provider. |
static Uri |
Telephony.Sms.Sent.addMessage(ContentResolver resolver,
String address,
String body,
String subject,
Long date)
Add an SMS to the Draft box. |
static Uri |
Telephony.Sms.Draft.addMessage(ContentResolver resolver,
String address,
String body,
String subject,
Long date)
Add an SMS to the Draft box. |
static Uri |
Telephony.Sms.Inbox.addMessage(ContentResolver resolver,
String address,
String body,
String subject,
Long date,
boolean read)
Add an SMS to the Draft box. |
static Uri |
Telephony.Sms.Outbox.addMessage(ContentResolver resolver,
String address,
String body,
String subject,
Long date,
boolean deliveryReport,
long threadId)
Add an SMS to the Out box. |
static Uri |
Telephony.Sms.addMessageToUri(ContentResolver resolver,
Uri uri,
String address,
String body,
String subject,
Long date,
boolean read,
boolean deliveryReport)
Add an SMS to the given URI. |
static Uri |
Telephony.Sms.addMessageToUri(ContentResolver resolver,
Uri uri,
String address,
String body,
String subject,
Long date,
boolean read,
boolean deliveryReport,
long threadId)
Add an SMS to the given URI with thread_id specified. |
void |
Gmail.MessageCursor.addOrRemoveLabel(String label,
boolean add)
Adds a label to a message (if add is true) or removes it (if add is false). |
void |
Gmail.addOrRemoveLabelOnConversation(String account,
long conversationId,
long maxServerMessageId,
String label,
boolean add)
Adds or removes the label on the conversation. |
static void |
Gmail.addOrRemoveLabelOnMessage(ContentResolver contentResolver,
String account,
long conversationId,
long messageId,
String label,
boolean add)
Adds or removes the label on the message. |
static void |
Browser.addSearchUrl(ContentResolver cr,
String search)
Add a search string to the searches database. |
static Uri |
Contacts.People.addToGroup(ContentResolver resolver,
long personId,
String groupName)
Adds a person to a group referred to by name. |
static void |
UserDictionary.Words.addWord(Context context,
String word,
int frequency,
int localeType)
|
static Object |
Contacts.ContactMethods.decodeImProtocol(String encodedString)
|
static int |
Calendar.Calendars.delete(ContentResolver cr,
String selection,
String[] selectionArgs)
Convenience method perform a delete on the Calendar provider |
static int |
Calendar.Calendars.delete(ContentResolver cr,
String selection,
String[] selectionArgs)
Convenience method perform a delete on the Calendar provider |
static int |
Calendar.Calendars.deleteCalendarsForAccount(ContentResolver cr,
String account)
Convenience method to delete all calendars that match the account. |
static int |
SubscribedFeeds.deleteFeed(ContentResolver resolver,
String feed,
String account,
String authority)
|
static int |
SubscribedFeeds.deleteFeeds(ContentResolver resolver,
String account,
String authority)
|
static void |
Browser.deleteFromHistory(ContentResolver cr,
String url)
Remove a specific url from the history database. |
static String |
Contacts.ContactMethods.encodeCustomImProtocol(String protocolString)
|
void |
Gmail.expungeMessage(String account,
long messageId)
Expunge the indicated message. |
static String |
Telephony.Mms.extractAddrSpec(String address)
|
ContentValues |
Sync.Status.QueryMap.get(String account,
String authority)
|
static Uri |
Gmail.getAttachmentUri(String account,
long messageId,
Gmail.Attachment attachment,
Gmail.AttachmentRendition rendition,
boolean saveToSd)
Any given attachment can come in two different renditions (see Gmail.AttachmentRendition) and can be saved to the sd card or to a
cache. |
static String |
Settings.Secure.getBluetoothA2dpSinkPriorityKey(String address)
Get the key that retrieves a bluetooth a2dp sink's priority. |
static String |
Settings.Secure.getBluetoothHeadsetPriorityKey(String address)
Get the key that retrieves a bluetooth headset's priority. |
static boolean |
Sync.Settings.getBoolean(ContentResolver contentResolver,
String name,
boolean def)
Convenience function for getting a setting value as a boolean without using the QueryMap for light-weight setting querying. |
static boolean |
Im.ProviderSettings.getBooleanValue(ContentResolver cr,
long providerId,
String settingName)
Get the boolean value of setting which is specified by provider id and the setting name. |
static Uri |
MediaStore.Images.Media.getContentUri(String volumeName)
Get the content:// style URI for the image media table on the given volume. |
static Uri |
MediaStore.Images.Thumbnails.getContentUri(String volumeName)
Get the content:// style URI for the image media table on the given volume. |
static Uri |
MediaStore.Audio.Media.getContentUri(String volumeName)
Get the content:// style URI for the audio media table on the given volume. |
static Uri |
MediaStore.Audio.Genres.getContentUri(String volumeName)
Get the content:// style URI for the audio genres table on the given volume. |
static Uri |
MediaStore.Audio.Playlists.getContentUri(String volumeName)
Get the content:// style URI for the audio playlists table on the given volume. |
static Uri |
MediaStore.Audio.Artists.getContentUri(String volumeName)
Get the content:// style URI for the artists table on the given volume. |
static Uri |
MediaStore.Audio.Albums.getContentUri(String volumeName)
Get the content:// style URI for the albums table on the given volume. |
static Uri |
MediaStore.Video.Media.getContentUri(String volumeName)
Get the content:// style URI for the video media table on the given volume. |
static Uri |
MediaStore.Audio.Genres.Members.getContentUri(String volumeName,
long genreId)
|
static Uri |
MediaStore.Audio.Playlists.Members.getContentUri(String volumeName,
long playlistId)
|
static Uri |
MediaStore.Audio.Artists.Albums.getContentUri(String volumeName,
long artistId)
|
static Uri |
Im.Messages.getContentUriByContact(long providerId,
long accountId,
String username)
Gets the Uri to query messages by contact. |
static Uri |
MediaStore.Audio.Media.getContentUriForPath(String path)
|
Gmail.ConversationCursor |
Gmail.getConversationCursorForCursor(String account,
Cursor cursor)
Wraps a Cursor in a ConversationCursor |
Gmail.ConversationCursor |
Gmail.getConversationCursorForQuery(String account,
String query)
Synchronously gets a cursor over all conversations matching a query. |
static String |
Gmail.getEmailFromAddressString(String addressString)
Returns the email address in an address string |
static float |
Settings.System.getFloat(ContentResolver cr,
String name)
Convenience function for retrieving a single system settings value as a float. |
static float |
Settings.Secure.getFloat(ContentResolver cr,
String name)
Convenience function for retrieving a single secure settings value as a float. |
static float |
Settings.System.getFloat(ContentResolver cr,
String name,
float def)
Convenience function for retrieving a single system settings value as a floating point number. |
static float |
Settings.Secure.getFloat(ContentResolver cr,
String name,
float def)
Convenience function for retrieving a single secure settings value as a floating point number. |
static int |
Settings.System.getInt(ContentResolver cr,
String name)
Convenience function for retrieving a single system settings value as an integer. |
static int |
Settings.Secure.getInt(ContentResolver cr,
String name)
Convenience function for retrieving a single secure settings value as an integer. |
static int |
Settings.System.getInt(ContentResolver cr,
String name,
int def)
Convenience function for retrieving a single system settings value as an integer. |
static int |
Settings.Secure.getInt(ContentResolver cr,
String name,
int def)
Convenience function for retrieving a single secure settings value as an integer. |
static int |
Settings.Gservices.getInt(ContentResolver resolver,
String name,
int defValue)
Look up the value for name in the database, convert it to an int using Integer.parseInt and return it. |
static CharSequence |
Settings.Bookmarks.getLabelForFolder(Resources r,
String folder)
Return the folder name as it should be displayed to the user. |
long |
Gmail.LabelMap.getLabelId(String canonicalName)
Deprecated. this is only needed because most of the UI uses label names instead of ids |
Gmail.LabelMap |
Gmail.getLabelMap(String account)
|
Set<String> |
Gmail.ConversationCursor.getLabels(String rawLabelIds,
Gmail.LabelMap labelMap)
Returns the set of labels using the raw labels from a previous getRawLabels() as input. |
Gmail.MessageCursor |
Gmail.getLocalMessageCursorForQuery(String account,
String query)
Gets a message cursor over the messages that match the query. |
static long |
Settings.System.getLong(ContentResolver cr,
String name)
Convenience function for retrieving a single system settings value as a long. |
static long |
Settings.Secure.getLong(ContentResolver cr,
String name)
Convenience function for retrieving a single secure settings value as a long. |
static long |
Settings.System.getLong(ContentResolver cr,
String name,
long def)
Convenience function for retrieving a single system settings value as a long. |
static long |
Settings.Secure.getLong(ContentResolver cr,
String name,
long def)
Convenience function for retrieving a single secure settings value as a long. |
static long |
Settings.Gservices.getLong(ContentResolver resolver,
String name,
long defValue)
Look up the value for name in the database, convert it to a long using Long.parseLong and return it. |
Gmail.MessageCursor |
Gmail.getMessageCursorForConversationId(String account,
long conversationId)
Gets a cursor over all of the messages in a conversation. |
Gmail.MessageCursor |
Gmail.getMessageCursorForMessageId(String account,
long messageId)
Gets a message cursor over the single message with the given id. |
static String |
Gmail.getNameFromAddressString(String addressString)
Returns the name in an address string |
int |
Gmail.LabelMap.getNumConversations(String label)
Deprecated. |
int |
Gmail.LabelMap.getNumUnreadConversations(String label)
Deprecated. |
static long |
Telephony.Threads.getOrCreateThreadId(Context context,
String recipient)
This is a single-recipient version of getOrCreateThreadId. |
static String |
Im.Provider.getProviderCategoryFromName(String providername)
This returns the provider category given a provider name. |
static long |
Im.Provider.getProviderIdForName(ContentResolver cr,
String providerName)
|
static String |
Im.Provider.getProviderNameForCategory(String providerCategory)
This returns the provider name given a provider category. |
static void |
Gmail.getSenderSnippet(String instructions,
SpannableStringBuilder sb,
int maxChars,
CharacterStyle unreadStyle,
CharacterStyle draftsStyle,
CharSequence meString,
CharSequence draftString,
CharSequence draftPluralString,
CharSequence sendingString,
CharSequence sendFailedString,
boolean forceAllUnread,
boolean forceAllRead)
Uses sender instructions to build a formatted string. |
static String |
Contacts.Settings.getSetting(ContentResolver cr,
String account,
String key)
|
Gmail.Settings |
Gmail.getSettings(String account)
Returns the settings. |
static String |
Settings.System.getString(ContentResolver resolver,
String name)
Look up a name in the database. |
static String |
Settings.Secure.getString(ContentResolver resolver,
String name)
Look up a name in the database. |
static String |
Settings.Gservices.getString(ContentResolver resolver,
String name)
Look up a name in the database. |
String |
Settings.Gservices.QueryMap.getString(String name)
Deprecated. |
static String |
Im.ProviderSettings.getStringValue(ContentResolver cr,
long providerId,
String settingName)
Get the string value of setting which is specified by provider id and the setting name. |
boolean |
Sync.Settings.QueryMap.getSyncProviderAutomatically(String providerName)
Check if the provider should be synced when a network tickle is received |
static Uri |
Settings.System.getUriFor(String name)
Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver. |
static Uri |
Settings.Secure.getUriFor(String name)
Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver. |
static Uri |
Settings.Gservices.getUriFor(String name)
Construct the content URI for a particular name/value pair, useful for monitoring changes with a ContentObserver. |
static Uri |
Settings.NameValueTable.getUriFor(Uri uri,
String name)
|
static String |
SubscribedFeeds.gtalkServiceRoutingInfoFromAccountAndResource(String account,
String res)
|
static boolean |
Sync.History.hasNewerSyncFinished(ContentResolver contentResolver,
String account,
String authority,
long when)
|
static String |
MediaStore.Images.Media.insertImage(ContentResolver cr,
Bitmap source,
String title,
String description)
Insert an image and create a thumbnail for it. |
static String |
MediaStore.Images.Media.insertImage(ContentResolver cr,
String imagePath,
String name,
String description)
Insert an image and create a thumbnail for it. |
static boolean |
Telephony.Mms.isEmailAddress(String address)
Returns true if the address is an email address |
static boolean |
Gmail.isLabelUserDefined(String label)
Returns whether the label is user-defined (versus system-defined labels such as inbox, whose names start with "^"). |
static boolean |
Gmail.isLabelUserSettable(String label)
Returns whether the label is user-settable. |
boolean |
Sync.Pending.QueryMap.isPending(String account,
String authority)
|
static String |
MediaStore.Audio.keyFor(String name)
Converts a name to a "key" that can be used for grouping, sorting and searching. |
static Uri |
Checkin.logEvent(ContentResolver resolver,
Checkin.Events.Tag tag,
String value)
Helper function to log an event to the database. |
static String |
Sync.History.mesgToString(String mesg)
|
static Gmail.Attachment |
Gmail.Attachment.parseJoinedString(String joinedString)
|
static void |
Gmail.MessageModification.putBccAddresses(ContentValues values,
String[] bccAddresses)
Sets the message's bcc address. |
static void |
Gmail.MessageModification.putBody(ContentValues values,
String body)
Saves a new body for the message. |
static void |
Im.ProviderSettings.putBooleanValue(ContentResolver cr,
long providerId,
String name,
boolean value)
Save a boolean value of setting in the table providerSetting. |
static void |
Gmail.MessageModification.putCcAddresses(ContentValues values,
String[] ccAddresses)
Sets the message's cc address. |
static boolean |
Settings.System.putFloat(ContentResolver cr,
String name,
float value)
Convenience function for updating a single settings value as a floating point number. |
static boolean |
Settings.Secure.putFloat(ContentResolver cr,
String name,
float value)
Convenience function for updating a single settings value as a floating point number. |
static boolean |
Settings.System.putInt(ContentResolver cr,
String name,
int value)
Convenience function for updating a single settings value as an integer. |
static boolean |
Settings.Secure.putInt(ContentResolver cr,
String name,
int value)
Convenience function for updating a single settings value as an integer. |
static boolean |
Settings.System.putLong(ContentResolver cr,
String name,
long value)
Convenience function for updating a single settings value as a long integer. |
static boolean |
Settings.Secure.putLong(ContentResolver cr,
String name,
long value)
Convenience function for updating a secure settings value as a long integer. |
static void |
Im.ProviderSettings.putLongValue(ContentResolver cr,
long providerId,
String name,
long value)
Save a long value of setting in the table providerSetting. |
static boolean |
Settings.System.putString(ContentResolver resolver,
String name,
String value)
Store a name/value pair into the database. |
static boolean |
Settings.Secure.putString(ContentResolver resolver,
String name,
String value)
Store a name/value pair into the database. |
static boolean |
Settings.Gservices.putString(ContentResolver resolver,
String name,
String value)
Store a name/value pair into the database. |
protected static boolean |
Settings.NameValueTable.putString(ContentResolver resolver,
Uri uri,
String name,
String value)
|
static void |
Im.ProviderSettings.putStringValue(ContentResolver cr,
long providerId,
String name,
String value)
Save a string value of setting in the table providerSetting. |
static void |
Gmail.MessageModification.putSubject(ContentValues values,
String subject)
Sets the message's subject. |
static void |
Gmail.MessageModification.putToAddresses(ContentValues values,
String[] toAddresses)
Sets the message's to address. |
static Cursor |
Telephony.Sms.query(ContentResolver cr,
String[] projection)
|
static Cursor |
Telephony.Mms.query(ContentResolver cr,
String[] projection)
|
static Cursor |
Im.ContactsEtag.query(ContentResolver cr,
String[] projection)
|
static Cursor |
SubscribedFeeds.Feeds.query(ContentResolver cr,
String[] projection)
|
static Cursor |
SubscribedFeeds.Accounts.query(ContentResolver cr,
String[] projection)
|
static Cursor |
Calendar.Events.query(ContentResolver cr,
String[] projection)
|
static Cursor |
Calendar.Instances.query(ContentResolver cr,
String[] projection,
long begin,
long end)
|
static Cursor |
Calendar.Instances.query(ContentResolver cr,
String[] projection,
long begin,
long end,
String where,
String orderBy)
|
static Cursor |
Calendar.Instances.query(ContentResolver cr,
String[] projection,
long begin,
long end,
String where,
String orderBy)
|
static Cursor |
Telephony.Sms.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Telephony.Sms.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Telephony.Mms.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Telephony.Mms.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Im.ContactsEtag.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Im.ContactsEtag.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
SubscribedFeeds.Accounts.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
SubscribedFeeds.Accounts.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Calendar.Calendars.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Calendar.Calendars.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Calendar.Events.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Calendar.Events.query(ContentResolver cr,
String[] projection,
String where,
String orderBy)
|
static Cursor |
Calendar.CalendarAlerts.query(ContentResolver cr,
String[] projection,
String selection,
String[] selectionArgs)
|
static Cursor |
Calendar.CalendarAlerts.query(ContentResolver cr,
String[] projection,
String selection,
String[] selectionArgs)
|
static Cursor |
Calendar.CalendarAlerts.query(ContentResolver cr,
String[] projection,
String selection,
String[] selectionArgs)
|
static Cursor |
SubscribedFeeds.Feeds.query(ContentResolver cr,
String[] projection,
String where,
String[] whereArgs,
String orderBy)
|
static Cursor |
SubscribedFeeds.Feeds.query(ContentResolver cr,
String[] projection,
String where,
String[] whereArgs,
String orderBy)
|
static Cursor |
SubscribedFeeds.Feeds.query(ContentResolver cr,
String[] projection,
String where,
String[] whereArgs,
String orderBy)
|
static Cursor |
MediaStore.Images.Media.query(ContentResolver cr,
Uri uri,
String[] projection)
|
static Cursor |
MediaStore.Images.Thumbnails.query(ContentResolver cr,
Uri uri,
String[] projection)
|
static Cursor |
MediaStore.Video.query(ContentResolver cr,
Uri uri,
String[] projection)
|
static Cursor |
MediaStore.Images.Media.query(ContentResolver cr,
Uri uri,
String[] projection,
String where,
String orderBy)
|
static Cursor |
MediaStore.Images.Media.query(ContentResolver cr,
Uri uri,
String[] projection,
String where,
String orderBy)
|
static Cursor |
MediaStore.Images.Media.query(ContentResolver cr,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
|
static Cursor |
MediaStore.Images.Media.query(ContentResolver cr,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
|
static Cursor |
MediaStore.Images.Media.query(ContentResolver cr,
Uri uri,
String[] projection,
String selection,
String[] selectionArgs,
String orderBy)
|
static Cursor |
MediaStore.Images.Thumbnails.queryMiniThumbnail(ContentResolver cr,
long origId,
int kind,
String[] projection)
|
static Cursor |
MediaStore.Images.Thumbnails.queryMiniThumbnails(ContentResolver cr,
Uri uri,
int kind,
String[] projection)
|
static void |
Browser.requestAllIcons(ContentResolver cr,
String where,
WebIconDatabase.IconListener listener)
Request all icons from the database. |
void |
Gmail.runQueryForConversations(String account,
AsyncQueryHandler handler,
int token,
String query)
Asynchronously gets a cursor over all conversations matching a query. |
static void |
Browser.saveBookmark(Context c,
String title,
String url)
Open the AddBookmark activity to save a bookmark. |
static boolean |
Telephony.Sms.Draft.saveMessage(ContentResolver resolver,
Uri uri,
String body)
Save over an existing draft message. |
void |
SearchRecentSuggestions.saveRecentQuery(String queryString,
String line2)
Add a query to the recent queries list. |
static void |
Gmail.MessageModification.sendOrSaveExistingMessage(ContentResolver contentResolver,
String account,
long messageId,
ContentValues updateValues,
boolean save)
Update an existing draft and save it as a new draft or send it. |
static long |
Gmail.MessageModification.sendOrSaveNewMessage(ContentResolver contentResolver,
String account,
ContentValues values,
long refMessageId,
boolean save)
Create a new message and save it as a draft or send it. |
static void |
Browser.sendString(Context c,
String s)
|
static String |
Gmail.AttachmentOrigin.serverExtras(long conversationId,
long messageId,
String partId)
|
static void |
Im.ProviderSettings.setRingtoneURI(ContentResolver contentResolver,
long providerId,
String ringtoneUri)
A convenience method to set the Uri String of the ringtone. |
void |
Im.ProviderSettings.QueryMap.setRingtoneURI(String ringtoneUri)
Set the Uri for the ringtone. |
static void |
Contacts.Settings.setSetting(ContentResolver cr,
String account,
String key,
String value)
|
void |
Gmail.setSettings(String account,
Gmail.Settings settings)
Sets the settings. |
static void |
Sync.Settings.setSyncProviderAutomatically(ContentResolver contentResolver,
String providerName,
boolean sync)
A convenience method to set whether or not the provider is synced when it receives a network tickle. |
void |
Sync.Settings.QueryMap.setSyncProviderAutomatically(String providerName,
boolean sync)
Set whether or not the provider is synced when it receives a network tickle. |
static String[] |
Gmail.AttachmentOrigin.splitServerExtras(String extras)
|
static void |
Browser.updateVisitedHistory(ContentResolver cr,
String url,
boolean real)
Update the visited history to acknowledge that a site has been visited. |
static Checkin.Events.Tag |
Checkin.Events.Tag.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Checkin.Stats.Tag |
Checkin.Stats.Tag.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Checkin.Properties.Tag |
Checkin.Properties.Tag.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Gmail.PersonalLevel |
Gmail.PersonalLevel.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Gmail.AttachmentRendition |
Gmail.AttachmentRendition.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Gmail.AttachmentOrigin |
Gmail.AttachmentOrigin.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Gmail.CursorStatus |
Gmail.CursorStatus.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Method parameters in android.provider with type arguments of type String | |
|---|---|
static long |
Telephony.Threads.getOrCreateThreadId(Context context,
Set<String> recipients)
Given the recipients list and subject of an unsaved message, return its thread ID. |
| Constructors in android.provider with parameters of type String | |
|---|---|
Gmail.LabelMap(ContentResolver contentResolver,
String account,
boolean keepUpdated)
|
|
Gmail.MailCursor(String account,
Cursor cursor)
Constructs the MailCursor given a regular cursor, registering as a change observer of the cursor. |
|
Gmail.MessageCursor(ContentResolver cr,
String account,
long inReplyToMessageId,
boolean preserveAttachments)
|
|
Gmail.MessageCursor(Gmail gmail,
ContentResolver cr,
String account,
Cursor cursor)
|
|
SearchRecentSuggestions(Context context,
String authority,
int mode)
Although provider utility classes are typically static, this one must be constructed because it needs to be initialized using the same values that you provided in your SearchRecentSuggestionsProvider. |
|
Settings.SettingNotFoundException(String msg)
|
|
| Uses of String in android.sax |
|---|
| Fields in android.sax declared as String | |
|---|---|
(package private) String |
Element.localName
|
(package private) String |
Element.uri
|
| Methods in android.sax that return String | |
|---|---|
String |
BadXmlException.getMessage()
|
String |
Element.toString()
|
(package private) static String |
Element.toString(String uri,
String localName)
|
| Methods in android.sax with parameters of type String | |
|---|---|
void |
EndTextElementListener.end(String body)
Invoked at the end of a text element with the body of the element. |
void |
RootElement.Handler.endElement(String uri,
String localName,
String qName)
|
(package private) Element |
Children.get(String uri,
String localName)
Looks up a child by name. |
Element |
Element.getChild(String localName)
Gets the child element with the given name. |
Element |
Element.getChild(String uri,
String localName)
Gets the child element with the given name. |
(package private) Element |
Children.getOrCreate(Element parent,
String uri,
String localName)
Looks up a child by name and creates a new one if necessary. |
Element |
Element.requireChild(String localName)
Gets the child element with the given name. |
Element |
Element.requireChild(String uri,
String localName)
Gets the child element with the given name. |
void |
RootElement.Handler.startElement(String uri,
String localName,
String qName,
Attributes attributes)
|
(package private) void |
RootElement.Handler.startRoot(String uri,
String localName,
Attributes attributes)
|
(package private) static String |
Element.toString(String uri,
String localName)
|
| Constructors in android.sax with parameters of type String | |
|---|---|
BadXmlException(String message,
Locator locator)
|
|
Children.Child(Element parent,
String uri,
String localName,
int depth,
int hash)
|
|
Element(Element parent,
String uri,
String localName,
int depth)
|
|
RootElement(String localName)
Constructs a new root element with the given name. |
|
RootElement(String uri,
String localName)
Constructs a new root element with the given name. |
|
| Uses of String in android.security |
|---|
| Methods in android.security with parameters of type String | |
|---|---|
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Returns a digest object of the specified type. |
| Uses of String in android.server |
|---|
| Fields in android.server declared as String | |
|---|---|
static String |
BluetoothA2dpService.BLUETOOTH_A2DP_SERVICE
|
| Methods in android.server that return String | |
|---|---|
(package private) String |
BluetoothDeviceService.getAdapterPathNative()
|
String |
BluetoothDeviceService.getAddress()
|
String |
BluetoothDeviceService.getCompany()
Returns the company name from the OUI database of the Bluetooth device address. |
String |
BluetoothDeviceService.getMajorClass()
|
String |
BluetoothDeviceService.getManufacturer()
Returns the manufacturer of the Bluetooth chip. |
String |
BluetoothDeviceService.getMinorClass()
|
String |
BluetoothDeviceService.getName()
|
String |
BluetoothDeviceService.getRemoteAlias(String address)
Retrieves the alias of a remote device. |
String |
BluetoothDeviceService.getRemoteCompany(String address)
Like getCompany(), but for a remote device. |
String |
BluetoothDeviceService.getRemoteMajorClass(String address)
Gets the major device class of the specified device. |
String |
BluetoothDeviceService.getRemoteManufacturer(String address)
Like getManufacturer(), but for a remote device. |
String |
BluetoothDeviceService.getRemoteMinorClass(String address)
Gets the minor device class of the specified device. |
String |
BluetoothDeviceService.getRemoteName(String address)
Returns the user-friendly name of a remote device. |
String |
BluetoothDeviceService.getRemoteRevision(String address)
Like getRevision(), but for a remote device. |
String[] |
BluetoothDeviceService.getRemoteServiceClasses(String address)
Gets the service classes of the specified device. |
String |
BluetoothDeviceService.getRemoteVersion(String address)
Like getVersion(), but for a remote device. |
String |
BluetoothDeviceService.getRevision()
Returns the revision of the Bluetooth chip. |
String |
BluetoothDeviceService.getVersion()
Returns the version of the Bluetooth chip. |
String |
BluetoothDeviceService.lastSeen(String address)
Returns the date and time when the specified remote device has been seen by a discover procedure. |
String |
BluetoothDeviceService.lastUsed(String address)
Returns the date and time when the specified remote device has last been connected to Example: "2006-02-08 12:00:00 GMT" |
String[] |
BluetoothDeviceService.listAclConnections()
|
String[] |
BluetoothDeviceService.listBonds()
|
String[] |
BluetoothDeviceService.BondState.listBonds()
|
String[] |
BluetoothDeviceService.listRemoteDevices()
This method lists all remote devices that this adapter is aware of. |
| Methods in android.server that return types with arguments of type String | |
|---|---|
(package private) HashMap<String,Integer> |
BluetoothEventLoop.getPasskeyAgentRequestData()
|
(package private) HashMap<String,IBluetoothDeviceCallback> |
BluetoothEventLoop.getRemoteServiceChannelCallbacks()
|
List<String> |
BluetoothA2dpService.listConnectedSinks()
|
| Methods in android.server with parameters of type String | |
|---|---|
void |
BluetoothDeviceService.BondState.attempt(String address)
|
boolean |
BluetoothDeviceService.cancelBondProcess(String address)
|
boolean |
BluetoothDeviceService.cancelPin(String address)
|
boolean |
BluetoothDeviceService.clearRemoteAlias(String address)
Removes the alias of a remote device. |
int |
BluetoothA2dpService.connectSink(String address)
|
boolean |
BluetoothDeviceService.createBond(String address)
|
boolean |
BluetoothDeviceService.disconnectRemoteDeviceAcl(String address)
|
int |
BluetoothA2dpService.disconnectSink(String address)
|
protected void |
BluetoothDeviceService.dump(FileDescriptor fd,
PrintWriter pw,
String[] args)
|
protected void |
BluetoothA2dpService.dump(FileDescriptor fd,
PrintWriter pw,
String[] args)
|
int |
BluetoothDeviceService.BondState.getAttempt(String address)
|
int |
BluetoothDeviceService.getBondState(String address)
|
int |
BluetoothDeviceService.BondState.getBondState(String address)
|
String |
BluetoothDeviceService.getRemoteAlias(String address)
Retrieves the alias of a remote device. |
int |
BluetoothDeviceService.getRemoteClass(String address)
Gets the remote major, minor, and service classes encoded as a 32-bit integer. |
String |
BluetoothDeviceService.getRemoteCompany(String address)
Like getCompany(), but for a remote device. |
byte[] |
BluetoothDeviceService.getRemoteFeatures(String address)
Gets the remote features encoded as bit mask. |
String |
BluetoothDeviceService.getRemoteMajorClass(String address)
Gets the major device class of the specified device. |
String |
BluetoothDeviceService.getRemoteManufacturer(String address)
Like getManufacturer(), but for a remote device. |
String |
BluetoothDeviceService.getRemoteMinorClass(String address)
Gets the minor device class of the specified device. |
String |
BluetoothDeviceService.getRemoteName(String address)
Returns the user-friendly name of a remote device. |
String |
BluetoothDeviceService.getRemoteRevision(String address)
Like getRevision(), but for a remote device. |
boolean |
BluetoothDeviceService.getRemoteServiceChannel(String address,
int uuid16,
IBluetoothDeviceCallback callback)
|
String[] |
BluetoothDeviceService.getRemoteServiceClasses(String address)
Gets the service classes of the specified device. |
int[] |
BluetoothDeviceService.getRemoteServiceHandles(String address,
String match)
This method and BluetoothDeviceService.getRemoteServiceRecord(java.lang.String, int) query the SDP service
on a remote device. |
byte[] |
BluetoothDeviceService.getRemoteServiceRecord(String address,
int handle)
This method retrieves the service records corresponding to a given service handle (method BluetoothDeviceService.getRemoteServiceHandles(java.lang.String, java.lang.String) retrieves the
service handles.)
This method and BluetoothDeviceService.getRemoteServiceHandles(java.lang.String, java.lang.String) do not interpret their
data, but simply return it raw to the user. |
String |
BluetoothDeviceService.getRemoteVersion(String address)
Like getVersion(), but for a remote device. |
int |
BluetoothA2dpService.getSinkPriority(String address)
|
int |
BluetoothA2dpService.getSinkState(String address)
|
boolean |
BluetoothDeviceService.isAclConnected(String address)
|
String |
BluetoothDeviceService.lastSeen(String address)
Returns the date and time when the specified remote device has been seen by a discover procedure. |
String |
BluetoothDeviceService.lastUsed(String address)
Returns the date and time when the specified remote device has last been connected to Example: "2006-02-08 12:00:00 GMT" |
void |
BluetoothEventLoop.onBondingCreated(String address)
|
void |
BluetoothEventLoop.onBondingRemoved(String address)
|
void |
BluetoothEventLoop.onModeChanged(String mode)
|
void |
BluetoothEventLoop.onNameChanged(String name)
|
void |
BluetoothEventLoop.onPasskeyAgentCancel(String address)
|
void |
BluetoothEventLoop.onPasskeyAgentRequest(String address,
int nativeData)
|
void |
BluetoothEventLoop.onRemoteAliasChanged(String address,
String alias)
|
void |
BluetoothEventLoop.onRemoteAliasCleared(String address)
|
void |
BluetoothEventLoop.onRemoteClassUpdated(String address,
int deviceClass)
|
void |
BluetoothEventLoop.onRemoteDeviceConnected(String address)
|
void |
BluetoothEventLoop.onRemoteDeviceDisappeared(String address)
|
void |
BluetoothEventLoop.onRemoteDeviceDisconnected(String address)
|
void |
BluetoothEventLoop.onRemoteDeviceDisconnectRequested(String address)
|
void |
BluetoothEventLoop.onRemoteDeviceFound(String address,
int deviceClass,
short rssi)
|
void |
BluetoothEventLoop.onRemoteNameChanged(String address,
String name)
|
void |
BluetoothEventLoop.onRemoteNameFailed(String address)
|
void |
BluetoothEventLoop.onRemoteNameUpdated(String address,
String name)
|
boolean |
BluetoothDeviceService.removeBond(String address)
|
void |
BluetoothDeviceService.BondState.setBondState(String address,
int state)
|
void |
BluetoothDeviceService.BondState.setBondState(String address,
int state,
int reason)
reason is ignored unless state == BOND_NOT_BONDED |
boolean |
BluetoothDeviceService.setName(String name)
|
boolean |
BluetoothDeviceService.setPin(String address,
byte[] pin)
|
boolean |
BluetoothDeviceService.setRemoteAlias(String address,
String alias)
Changes the alias of a remote device. |
int |
BluetoothA2dpService.setSinkPriority(String address,
int priority)
|
| Uses of String in android.server.checkin |
|---|
| Methods in android.server.checkin that return String | |
|---|---|
String |
CheckinProvider.getType(Uri uri)
|
| Methods in android.server.checkin with parameters of type String | |
|---|---|
int |
CheckinProvider.delete(Uri uri,
String where,
String[] args)
|
int |
CheckinProvider.delete(Uri uri,
String where,
String[] args)
|
void |
FallbackCheckinService.getParentalControlState(IParentalControlCallback p,
String requestingApp)
|
Cursor |
CheckinProvider.query(Uri uri,
String[] select,
String where,
String[] args,
String sort)
|
Cursor |
CheckinProvider.query(Uri uri,
String[] select,
String where,
String[] args,
String sort)
|
Cursor |
CheckinProvider.query(Uri uri,
String[] select,
String where,
String[] args,
String sort)
|
int |
CheckinProvider.update(Uri uri,
ContentValues values,
String where,
String[] args)
|
int |
CheckinProvider.update(Uri uri,
ContentValues values,
String where,
String[] args)
|
| Uses of String in android.server.data |
|---|
| Fields in android.server.data declared as String | |
|---|---|
(package private) String |
CrashData.activity
|
(package private) String |
StackTraceElementData.className
|
(package private) String |
StackTraceElementData.fileName
|
(package private) String |
CrashData.id
|
(package private) String |
ThrowableData.message
|
(package private) String |
StackTraceElementData.methodName
|
(package private) String |
ThrowableData.type
|
| Methods in android.server.data that return String | |
|---|---|
String |
CrashData.getActivity()
|
String |
StackTraceElementData.getClassName()
|
String |
StackTraceElementData.getFileName()
|
String |
BuildData.getFingerprint()
|
String |
CrashData.getId()
|
String |
BuildData.getIncrementalVersion()
|
String |
ThrowableData.getMessage()
|
String |
StackTraceElementData.getMethodName()
|
String |
ThrowableData.getType()
|
String |
CrashData.toString()
Return a brief description of this CrashData record. |
String |
ThrowableData.toString()
|
String |
ThrowableData.toString(String prefix)
|
| Methods in android.server.data with parameters of type String | |
|---|---|
String |
ThrowableData.toString(String prefix)
|
| Constructors in android.server.data with parameters of type String | |
|---|---|
BuildData(String fingerprint,
String incrementalVersion,
long time)
|
|
CrashData(String id,
String activity,
BuildData buildData,
ThrowableData throwableData)
|
|
CrashData(String id,
String activity,
BuildData buildData,
ThrowableData throwableData,
byte[] state)
|
|
CrashData(String tag,
Throwable throwable)
|
|
| Uses of String in android.server.search |
|---|
| Fields in android.server.search declared as String | |
|---|---|
(package private) static String |
SearchableInfo.LOG_TAG
|
String |
SearchableInfo.ActionKeyInfo.mQueryActionMsg
|
String |
SearchableInfo.ActionKeyInfo.mSuggestActionMsg
|
String |
SearchableInfo.ActionKeyInfo.mSuggestActionMsgColumn
|
| Methods in android.server.search that return String | |
|---|---|
String |
SearchableInfo.getSuggestAuthority()
Retrieve the authority for obtaining search suggestions. |
String |
SearchableInfo.getSuggestIntentAction()
Retrieve the (optional) intent action for use with these suggestions. |
String |
SearchableInfo.getSuggestIntentData()
Retrieve the (optional) intent data for use with these suggestions. |
String |
SearchableInfo.getSuggestPath()
Retrieve the path for obtaining search suggestions. |
String |
SearchableInfo.getSuggestSelection()
Retrieve the selection pattern for obtaining search suggestions. |
| Uses of String in android.speech |
|---|
| Fields in android.speech declared as String | |
|---|---|
static String |
RecognizerIntent.ACTION_RECOGNIZE_SPEECH
Starts an activity that will prompt the user for speech and sends it through a speech recognizer. |
static String |
RecognizerIntent.EXTRA_LANGUAGE
Optional language override to inform the recognizer that it should expect speech in a language different than the one set in the Locale.getDefault(). |
static String |
RecognizerIntent.EXTRA_LANGUAGE_MODEL
Informs the recognizer which speech model to prefer when performing RecognizerIntent.ACTION_RECOGNIZE_SPEECH. |
static String |
RecognizerIntent.EXTRA_MAX_RESULTS
Optional limit on the maximum number of results to return. |
static String |
RecognizerIntent.EXTRA_PROMPT
Optional text prompt to show to the user when asking them to speak. |
static String |
RecognizerIntent.EXTRA_RESULTS
An ArrayList RecognizerIntent.ACTION_RECOGNIZE_SPEECH. |
static String |
RecognizerIntent.LANGUAGE_MODEL_FREE_FORM
Free form speech recognition |
static String |
RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH
Use a language model based on web search terms |
| Uses of String in android.speech.srec |
|---|
| Fields in android.speech.srec declared as String | |
|---|---|
static String |
Recognizer.KEY_CONFIDENCE
Result key corresponding to confidence score. |
static String |
Recognizer.KEY_LITERAL
Result key corresponding to literal text. |
static String |
Recognizer.KEY_MEANING
Result key corresponding to semantic meaning text. |
| Methods in android.speech.srec that return String | |
|---|---|
static String |
Recognizer.eventToString(int event)
Produce a displayable string from an advance event. |
String |
Recognizer.getAcousticState()
Get the acoustic state vector. |
static String |
Recognizer.getConfigDir(Locale locale)
Get the pathname of the SREC configuration directory corresponding to the language indicated by the Locale. |
String |
Recognizer.getResult(int index,
String key)
Get a result value. |
String[] |
Recognizer.getResultKeys(int index)
Get a set of keys for the result. |
String |
WaveHeader.toString()
|
| Methods in android.speech.srec with parameters of type String | |
|---|---|
void |
Recognizer.Grammar.addWordToSlot(String slot,
String word,
String pron,
int weight,
String tag)
Add a word to a slot. |
String |
Recognizer.getResult(int index,
String key)
Get a result value. |
void |
Recognizer.Grammar.save(String g2gFileName)
Save Grammar to g2g file. |
void |
Recognizer.setAcousticState(String state)
Set the acoustic state vector. |
| Constructors in android.speech.srec with parameters of type String | |
|---|---|
Recognizer.Grammar(String g2gFileName)
Create a Grammar instance. |
|
Recognizer(String configFile)
Create an instance of a SREC speech recognizer. |
|
| Uses of String in android.syncml.pim |
|---|
| Fields in android.syncml.pim declared as String | |
|---|---|
(package private) String |
VDataBuilder.curParamType
|
protected String |
VParser.mBuffer
The buffer used to store input stream |
protected String |
VParser.mDefaultEncoding
|
protected String |
VParser.mEncoding
The encoding type |
String |
PropertyNode.propName
|
String |
PropertyNode.propValue
|
String |
VNode.VName
|
| Fields in android.syncml.pim with type parameters of type String | |
|---|---|
ArrayList<String> |
PropertyNode.paraMap_TYPE
Only for TYPE=??? param store. |
Collection<String> |
PropertyNode.propValue_vector
|
| Methods in android.syncml.pim that return String | |
|---|---|
String |
VDataBuilder.getResult()
|
protected String |
VParser.getWord(int offset)
Get a word from current position. |
| Methods in android.syncml.pim with parameters of type String | |
|---|---|
boolean |
VParser.parse(InputStream is,
String encoding,
VBuilder builder)
Parse the given stream |
protected int |
VParser.parseString(int offset,
String tar,
boolean ignoreCase)
To determine if the given string equals to the start of the current string. |
void |
VDataBuilder.propertyName(String name)
|
void |
VBuilder.propertyName(String name)
|
void |
VDataBuilder.propertyParamType(String type)
|
void |
VBuilder.propertyParamType(String type)
|
void |
VDataBuilder.propertyParamValue(String value)
|
void |
VBuilder.propertyParamValue(String value)
|
protected void |
VParser.setInputStream(InputStream is,
String encoding)
Copy the content of input stream and filter the "folding" |
void |
VDataBuilder.startRecord(String type)
|
void |
VBuilder.startRecord(String type)
|
| Method parameters in android.syncml.pim with type arguments of type String | |
|---|---|
void |
VDataBuilder.propertyValues(Collection<String> values)
|
void |
VBuilder.propertyValues(Collection<String> values)
|
| Uses of String in android.syncml.pim.vcalendar |
|---|
| Fields in android.syncml.pim.vcalendar declared as String | |
|---|---|
String |
CalendarStruct.EventStruct.description
|
String |
CalendarStruct.EventStruct.dtend
|
String |
CalendarStruct.EventStruct.dtstart
|
String |
CalendarStruct.EventStruct.duration
|
String |
CalendarStruct.EventStruct.event_location
|
String |
CalendarStruct.EventStruct.has_alarm
|
String |
CalendarStruct.EventStruct.last_date
|
String |
CalendarStruct.EventStruct.rrule
|
String |
CalendarStruct.EventStruct.status
|
String |
CalendarStruct.timezone
|
String |
CalendarStruct.EventStruct.title
|
String |
CalendarStruct.EventStruct.uid
|
static String |
VCalParser.VERSION_VCALENDAR10
|
static String |
VCalComposer.VERSION_VCALENDAR10
|
static String |
VCalParser.VERSION_VCALENDAR20
|
static String |
VCalComposer.VERSION_VCALENDAR20
|
| Fields in android.syncml.pim.vcalendar with type parameters of type String | |
|---|---|
List<String> |
CalendarStruct.EventStruct.reminderList
|
| Methods in android.syncml.pim.vcalendar that return String | |
|---|---|
String |
VCalComposer.createVCal(CalendarStruct struct,
int vcalversion)
Create a vCalendar String. |
| Methods in android.syncml.pim.vcalendar with parameters of type String | |
|---|---|
void |
CalendarStruct.EventStruct.addReminderList(String method)
|
boolean |
VCalParser_V20.parse(InputStream is,
String encoding,
VBuilder builder)
|
boolean |
VCalParser.parse(String vcalendarStr,
VDataBuilder builder)
|
| Constructors in android.syncml.pim.vcalendar with parameters of type String | |
|---|---|
VCalException(String message)
Constructs a VCalException object |
|
| Uses of String in android.syncml.pim.vcard |
|---|
| Fields in android.syncml.pim.vcard declared as String | |
|---|---|
String |
ContactStruct.company
|
String |
ContactStruct.PhoneData.data
maybe folding |
String |
ContactStruct.ContactMethod.data
|
String |
ContactStruct.ContactMethod.kind
|
String |
ContactStruct.PhoneData.label
|
String |
ContactStruct.ContactMethod.label
|
(package private) String |
VCardParser.mVersion
|
String |
ContactStruct.name
MUST exist |
String |
ContactStruct.notes
maybe folding |
String |
ContactStruct.photoType
mime_type col of images table |
String |
ContactStruct.title
maybe folding |
String |
ContactStruct.PhoneData.type
|
String |
ContactStruct.ContactMethod.type
|
static String |
VCardParser.VERSION_VCARD21
|
static String |
VCardParser.VERSION_VCARD30
|
| Methods in android.syncml.pim.vcard that return String | |
|---|---|
String |
VCardComposer.createVCard(ContactStruct struct,
int vcardversion)
Create a vCard String. |
| Methods in android.syncml.pim.vcard with parameters of type String | |
|---|---|
void |
ContactStruct.addContactmethod(String kind,
String data,
String type,
String label)
Add a contactmethod info to contactmethodList. |
void |
ContactStruct.addPhone(String data,
String type,
String label)
Add a phone info to phoneList. |
boolean |
VCardParser_V30.parse(InputStream is,
String encoding,
VBuilder builder)
|
boolean |
VCardParser.parse(String vcardStr,
VDataBuilder builder)
Parse the given vcard string |
| Constructors in android.syncml.pim.vcard with parameters of type String | |
|---|---|
VCardException(String message)
Constructs a VCardException object |
|
| Uses of String in android.telephony |
|---|
| Fields in android.telephony declared as String | |
|---|---|
static String |
TelephonyManager.ACTION_PHONE_STATE_CHANGED
Broadcast intent action indicating that the call state (cellular) on the device has changed. |
static String |
TelephonyManager.EXTRA_INCOMING_NUMBER
The lookup key used with the TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcast
for a String containing the incoming phone number. |
static String |
TelephonyManager.EXTRA_STATE
The lookup key used with the TelephonyManager.ACTION_PHONE_STATE_CHANGED broadcast
for a String containing the new call state. |
static String |
TelephonyManager.EXTRA_STATE_IDLE
Value used with TelephonyManager.EXTRA_STATE corresponding to
TelephonyManager.CALL_STATE_IDLE. |
static String |
TelephonyManager.EXTRA_STATE_OFFHOOK
Value used with TelephonyManager.EXTRA_STATE corresponding to
TelephonyManager.CALL_STATE_OFFHOOK. |
static String |
TelephonyManager.EXTRA_STATE_RINGING
Value used with TelephonyManager.EXTRA_STATE corresponding to
TelephonyManager.CALL_STATE_RINGING. |
| Methods in android.telephony that return String | |
|---|---|
static String |
PhoneNumberUtils.calledPartyBCDFragmentToString(byte[] bytes,
int offset,
int length)
Like calledPartyBCDToString, but field does not start with a TOA byte. |
static String |
PhoneNumberUtils.calledPartyBCDToString(byte[] bytes,
int offset,
int length)
3GPP TS 24.008 10.5.4.7 Called Party BCD Number See Also TS 51.011 10.5.1 "dialing number/ssc string" and TS 11.11 "10.3.1 EF adn (Abbreviated dialing numbers)" |
static String |
PhoneNumberUtils.convertKeypadLettersToDigits(String input)
Translates any alphabetic letters (i.e. |
static String |
PhoneNumberUtils.extractNetworkPortion(String phoneNumber)
Extracts the network address portion and canonicalizes (filters out separators.) Network address portion is everything up to DTMF control digit separators (pause or wait), but without non-dialable characters. |
static String |
PhoneNumberUtils.extractPostDialPortion(String phoneNumber)
Extracts the post-dial sequence of DTMF control digits, pauses, and waits. |
static String |
PhoneNumberUtils.formatNumber(String source)
Breaks the given number down and formats it according to the rules for the country the number is from. |
String |
TelephonyManager.getDeviceId()
Returns the unique device ID, for example,the IMEI for GSM phones. |
String |
TelephonyManager.getDeviceSoftwareVersion()
Returns the software version number for the device, for example, the IMEI/SV for GSM phones. |
String |
TelephonyManager.getLine1AlphaTag()
Returns the alphabetic identifier associated with the line 1 number. |
String |
TelephonyManager.getLine1Number()
Returns the phone number string for line 1, for example, the MSISDN for a GSM phone. |
String |
TelephonyManager.getNetworkCountryIso()
Returns the ISO country code equivilent of the current registered operator's MCC (Mobile Country Code). |
String |
TelephonyManager.getNetworkOperator()
Returns the numeric name (MCC+MNC) of current registered operator. |
String |
TelephonyManager.getNetworkOperatorName()
Returns the alphabetic name of current registered operator. |
String |
TelephonyManager.getNetworkTypeName()
Returns a string representation of the radio technology (network type) currently in use on the device. |
static String |
PhoneNumberUtils.getNumberFromIntent(Intent intent,
Context context)
Extracts the phone number from an Intent. |
String |
ServiceState.getOperatorAlphaLong()
Get current registered operator name in long alphanumeric format In GSM/UMTS, long format can be upto 16 characters long |
String |
ServiceState.getOperatorAlphaShort()
Get current registered operator name in short lphanumeric format In GSM/UMST, short format can be upto 8 characters long |
String |
ServiceState.getOperatorNumeric()
Get current registered operator numeric id In GSM/UMTS, numeric format is 3 digit country code plus 2 or 3 digit network code The country code can be decoded using MccTable.countryCodeForMcc() |
String |
TelephonyManager.getSimCountryIso()
Returns the ISO country code equivalent for the SIM provider's country code. |
String |
TelephonyManager.getSimOperator()
Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. |
String |
TelephonyManager.getSimOperatorName()
Returns the Service Provider Name (SPN). |
String |
TelephonyManager.getSimSerialNumber()
Returns the serial number of the SIM, if applicable. |
static String |
PhoneNumberUtils.getStrippedReversed(String phoneNumber)
Returns the network portion reversed. |
String |
TelephonyManager.getSubscriberId()
Returns the unique subscriber ID, for example, the IMSI for a GSM phone. |
String |
TelephonyManager.getVoiceMailAlphaTag()
Retrieves the alphabetic identifier associated with the voice mail number. |
String |
TelephonyManager.getVoiceMailNumber()
Returns the voice mail number. |
static String |
PhoneNumberUtils.stringFromStringAndTOA(String s,
int TOA)
Basically: makes sure there's a + in front of a TOA_International number Returns null if s == null |
static String |
PhoneNumberUtils.stripSeparators(String phoneNumber)
Strips separators from a phone number string. |
static String |
PhoneNumberUtils.toCallerIDMinMatch(String phoneNumber)
Returns the rightmost MIN_MATCH (5) characters in the network portion in *reversed* order This can be used to do a database lookup against the column that stores getStrippedReversed() Returns null if phoneNumber == null |
String |
ServiceState.toString()
|
String |
NeighboringCellInfo.toString()
|
| Methods in android.telephony with parameters of type String | |
|---|---|
static boolean |
PhoneNumberUtils.compare(String a,
String b)
Compare phone numbers a and b, return true if they're identical enough for caller ID purposes. |
static String |
PhoneNumberUtils.convertKeypadLettersToDigits(String input)
Translates any alphabetic letters (i.e. |
static String |
PhoneNumberUtils.extractNetworkPortion(String phoneNumber)
Extracts the network address portion and canonicalizes (filters out separators.) Network address portion is everything up to DTMF control digit separators (pause or wait), but without non-dialable characters. |
static String |
PhoneNumberUtils.extractPostDialPortion(String phoneNumber)
Extracts the post-dial sequence of DTMF control digits, pauses, and waits. |
static String |
PhoneNumberUtils.formatNumber(String source)
Breaks the given number down and formats it according to the rules for the country the number is from. |
static String |
PhoneNumberUtils.getStrippedReversed(String phoneNumber)
Returns the network portion reversed. |
static boolean |
PhoneNumberUtils.isEmergencyNumber(String number)
isEmergencyNumber: checks a given number against the list of emergency numbers provided by the RIL and SIM card. |
static boolean |
PhoneNumberUtils.isGlobalPhoneNumber(String phoneNumber)
|
static boolean |
PhoneNumberUtils.isWellFormedSmsAddress(String address)
Return true iff the network portion of address is,
as far as we can tell on the device, suitable for use as an SMS
destination address. |
static byte[] |
PhoneNumberUtils.networkPortionToCalledPartyBCD(String s)
Note: calls extractNetworkPortion(), so do not use for SIM EF[ADN] style records Exceptions thrown if extractNetworkPortion(s).length() == 0 |
static byte[] |
PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength(String s)
Same as PhoneNumberUtils.networkPortionToCalledPartyBCD(java.lang.String), but includes a
one-byte length prefix. |
static byte[] |
PhoneNumberUtils.numberToCalledPartyBCD(String number)
Convert a dialing number to BCD byte array |
void |
PhoneStateListener.onCallStateChanged(int state,
String incomingNumber)
Callback invoked when device call state changes. |
void |
ServiceState.setOperatorName(String longName,
String shortName,
String numeric)
|
static String |
PhoneNumberUtils.stringFromStringAndTOA(String s,
int TOA)
Basically: makes sure there's a + in front of a TOA_International number Returns null if s == null |
static String |
PhoneNumberUtils.stripSeparators(String phoneNumber)
Strips separators from a phone number string. |
static int |
PhoneNumberUtils.toaFromString(String s)
Returns the TOA for the given dial string Basically, returns TOA_International if there's a + prefix |
static String |
PhoneNumberUtils.toCallerIDMinMatch(String phoneNumber)
Returns the rightmost MIN_MATCH (5) characters in the network portion in *reversed* order This can be used to do a database lookup against the column that stores getStrippedReversed() Returns null if phoneNumber == null |
| Uses of String in android.telephony.gsm |
|---|
| Fields in android.telephony.gsm declared as String | |
|---|---|
(package private) String |
SmsAddress.address
|
(package private) String |
SmsMessage.emailBody
Non-null if this is an email gateway message |
(package private) String |
SmsMessage.emailFrom
Non-null this is an email gateway message |
(package private) static String |
SmsMessage.LOG_TAG
|
(package private) String |
SmsMessage.messageBody
The message body as a string. |
(package private) String |
SmsMessage.pseudoSubject
|
(package private) String |
SmsMessage.scAddress
The address of the SMSC. |
| Methods in android.telephony.gsm that return String | |
|---|---|
String |
SmsAddress.getAddressString()
|
String |
SmsMessage.getDisplayMessageBody()
Returns the message body, or email message body if this message was from an email gateway. |
String |
SmsMessage.getDisplayOriginatingAddress()
Returns the originating address, or email from address if this message was from an email gateway. |
String |
SmsMessage.getEmailBody()
|
String |
SmsMessage.getEmailFrom()
|
String |
SmsMessage.getMessageBody()
Returns the message body as a String, if it exists and is text based. |
String |
SmsMessage.getOriginatingAddress()
Returns the originating address (sender) of this SMS message in String form or null if unavailable |
String |
SmsMessage.getPseudoSubject()
Unofficial convention of a subject line enclosed in parens empty string if not present |
(package private) String |
SmsMessage.PduParser.getSCAddress()
Parse and return the SC address prepended to SMS messages coming via the TS 27.005 / AT interface. |
String |
SmsMessage.getServiceCenterAddress()
Returns the address of the SMS service center that relayed this message or null if there is none. |
(package private) String |
SmsMessage.PduParser.getUserDataGSM7Bit(int septetCount)
Interprets the user data payload as pack GSM 7bit characters, and decodes them into a String. |
(package private) String |
SmsMessage.PduParser.getUserDataUCS2(int byteCount)
Interprets the user data payload as UCS2 characters, and decodes them into a String. |
String |
GsmCellLocation.toString()
|
String |
SmsMessage.SubmitPdu.toString()
|
| Methods in android.telephony.gsm that return types with arguments of type String | |
|---|---|
ArrayList<String> |
SmsManager.divideMessage(String text)
Divide a text message into several messages, none bigger than the maximum SMS message size. |
| Methods in android.telephony.gsm with parameters of type String | |
|---|---|
static int[] |
SmsMessage.calculateLength(String messageBody,
boolean use7bitOnly)
Calculates the number of SMS's required to encode the message body and the number of characters remaining until the next message, given the current encoding. |
ArrayList<String> |
SmsManager.divideMessage(String text)
Divide a text message into several messages, none bigger than the maximum SMS message size. |
static SmsMessage.SubmitPdu |
SmsMessage.getSubmitPdu(String scAddress,
String destinationAddress,
short destinationPort,
byte[] data,
boolean statusReportRequested)
Get an SMS-SUBMIT PDU for a data message to a destination address & port |
static SmsMessage.SubmitPdu |
SmsMessage.getSubmitPdu(String scAddress,
String destinationAddress,
String message,
boolean statusReportRequested)
Get an SMS-SUBMIT PDU for a destination address and a message |
static SmsMessage.SubmitPdu |
SmsMessage.getSubmitPdu(String scAddress,
String destinationAddress,
String message,
boolean statusReportRequested,
byte[] header)
Get an SMS-SUBMIT PDU for a destination address and a message |
static int |
SmsMessage.getTPLayerLengthForPDU(String pdu)
Get the TP-Layer-Length for the given SMS-SUBMIT PDU Basically, the length in bytes (not hex chars) less the SMSC header |
static SmsMessage |
SmsMessage.newFromCDS(String line)
|
static SmsMessage |
SmsMessage.newFromCMT(String[] lines)
TS 27.005 3.4.1 lines[0] and lines[1] are the two lines read from the +CMT unsolicited response (PDU mode, of course) +CMT: [<alpha>], |
(package private) static SmsMessage |
SmsMessage.newFromCMTI(String line)
|
void |
SmsManager.sendDataMessage(String destinationAddress,
String scAddress,
short destinationPort,
byte[] data,
PendingIntent sentIntent,
PendingIntent deliveryIntent)
Send a data based SMS to a specific application port. |
void |
SmsManager.sendMultipartTextMessage(String destinationAddress,
String scAddress,
ArrayList<String> parts,
ArrayList<PendingIntent> sentIntents,
ArrayList<PendingIntent> deliveryIntents)
Send a multi-part text based SMS. |
void |
SmsManager.sendTextMessage(String destinationAddress,
String scAddress,
String text,
PendingIntent sentIntent,
PendingIntent deliveryIntent)
Send a text based SMS. |
static SmsMessage.MessageClass |
SmsMessage.MessageClass.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Method parameters in android.telephony.gsm with type arguments of type String | |
|---|---|
void |
SmsManager.sendMultipartTextMessage(String destinationAddress,
String scAddress,
ArrayList<String> parts,
ArrayList<PendingIntent> sentIntents,
ArrayList<PendingIntent> deliveryIntents)
Send a multi-part text based SMS. |
| Constructors in android.telephony.gsm with parameters of type String | |
|---|---|
SmsMessage.PduParser(String s)
|
|
| Uses of String in android.test |
|---|
| Fields in android.test declared as String | |
|---|---|
static String |
InstrumentationTestRunner.ARGUMENT_INCLUDE_PERF
|
static String |
InstrumentationTestRunner.ARGUMENT_TEST_CLASS
|
static String |
InstrumentationTestRunner.ARGUMENT_TEST_PACKAGE
|
static String |
InstrumentationTestRunner.ARGUMENT_TEST_SIZE_PREDICATE
|
static String |
TestBrowserActivity.BUNDLE_EXTRA_PACKAGE
|
static String |
TestBrowserController.BUNDLE_EXTRA_TEST_METHOD_NAME
|
static String |
LaunchPerformanceBase.LOG_TAG
|
(package private) String |
ActivityInstrumentationTestCase.mPackage
Deprecated. |
(package private) String |
ActivityInstrumentationTestCase2.mPackage
|
(package private) String |
SingleLaunchActivityTestCase.mPackage
|
(package private) String |
ProviderTestCase2.mProviderAuthority
|
(package private) String |
ProviderTestCase.mProviderAuthority
Deprecated. |
(package private) String |
TestListActivity.mSuite
Our suite |
(package private) String[] |
TestListActivity.mTests
Our children tests |
String |
TestRunner.IntermediateTime.name
|
static String |
TestListActivity.PERFORMANCE_TESTS
Supplied in the intent extras if we are running performance tests. |
static String |
TestLocationProvider.PROVIDER_NAME
|
static String |
InstrumentationTestRunner.REPORT_KEY_NAME_CLASS
If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies the name of the current test class. |
static String |
InstrumentationTestRunner.REPORT_KEY_NAME_TEST
If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies the name of the current test. |
static String |
InstrumentationTestRunner.REPORT_KEY_NUM_CURRENT
If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies the sequence number of the current test. |
static String |
InstrumentationTestRunner.REPORT_KEY_NUM_TOTAL
If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies the total number of tests that are being run. |
static String |
InstrumentationTestRunner.REPORT_KEY_STACK
If included in the status bundle sent to an IInstrumentationWatcher, this key identifies a stack trace describing an error or failure. |
static String |
InstrumentationTestRunner.REPORT_VALUE_ID
This value, if stored with key Instrumentation.REPORT_KEY_IDENTIFIER,
identifies InstrumentationTestRunner as the source of the report. |
(package private) static String |
TestBrowserControllerImpl.TEST_RUNNER_ACTIVITY_CLASS_NAME
|
| Methods in android.test that return String | |
|---|---|
String[] |
RenamingDelegatingContext.databaseList()
|
String[] |
RenamingDelegatingContext.fileList()
|
static String[] |
TestRunner.getChildren(Context c,
String className)
|
static String[] |
TestRunner.getChildren(Method m)
|
String |
RenamingDelegatingContext.getDatabasePrefix()
|
String |
ComparisonFailure.getMessage()
|
static String[] |
TestRunner.getTestChildren(Class clazz)
|
static String[] |
TestRunner.getTestChildren(Context c,
String className)
|
String |
AndroidTestRunner.getTestClassName()
|
static String |
TestCaseUtil.getTestName(Test test)
|
abstract String |
TestListActivity.getTestSuite()
Subclasses should implement this to return the names of the classes of their tests. |
static String |
TestRunner.getTitle(String className)
Returns a title to display given the className of a test. |
(package private) String |
RenamingDelegatingContext.publicNameFromDiskName(String diskName)
Returns the public name (everything following the prefix) of the given diskName. |
| Methods in android.test that return types with arguments of type String | |
|---|---|
static List<String> |
TestCaseUtil.getTestCaseNames(Test test,
boolean flatten)
|
| Methods in android.test with parameters of type String | ||
|---|---|---|
void |
TestRunner.addIntermediate(String name)
|
|
void |
PerformanceTestCase.Intermediates.addIntermediate(String name)
|
|
void |
TestRunner.addIntermediate(String name,
long timeInNS)
|
|
void |
PerformanceTestCase.Intermediates.addIntermediate(String name,
long timeInNS)
|
|
static MatchResult |
MoreAsserts.assertContainsRegex(String expectedRegex,
String actual)
Variant of MoreAsserts.assertContainsRegex(String,String,String) using a
generic message. |
|
static MatchResult |
MoreAsserts.assertContainsRegex(String message,
String expectedRegex,
String actual)
Asserts that expectedRegex matches any substring of actual
and fails with message if it does not. |
|
static void |
MoreAsserts.assertContentsInAnyOrder(String message,
Iterable<?> actual,
Object... expected)
Asserts that actual contains precisely the elements
expected, but in any order. |
|
static void |
MoreAsserts.assertContentsInOrder(String message,
Iterable<?> actual,
Object... expected)
Asserts that actual contains precisely the elements
expected, and in the same order. |
|
static void |
MoreAsserts.assertEmpty(String message,
Iterable<?> iterable)
Asserts that iterable is empty. |
|
static void |
MoreAsserts.assertEmpty(String message,
Map<?,?> map)
Asserts that map is empty. |
|
static void |
MoreAsserts.assertEquals(String message,
byte[] expected,
byte[] actual)
Asserts that array actual is the same size and every element equals
those in array expected. |
|
static void |
MoreAsserts.assertEquals(String message,
double[] expected,
double[] actual)
Asserts that array actual is the same size and every element equals
those in array expected. |
|
static void |
MoreAsserts.assertEquals(String message,
int[] expected,
int[] actual)
Asserts that array actual is the same size and every element equals
those in array expected. |
|
static void |
MoreAsserts.assertEquals(String message,
Object[] expected,
Object[] actual)
Asserts that array actual is the same size and every element
is the same as those in array expected. |
|
static void |
MoreAsserts.assertEquals(String message,
Set<? extends Object> expected,
Set<? extends Object> actual)
Asserts that two sets contain the same elements. |
|
static MatchResult |
MoreAsserts.assertMatchesRegex(String expectedRegex,
String actual)
Variant of MoreAsserts.assertMatchesRegex(String,String,String) using a
generic message. |
|
static MatchResult |
MoreAsserts.assertMatchesRegex(String message,
String expectedRegex,
String actual)
Asserts that expectedRegex exactly matches actual and
fails with message if it does not. |
|
static void |
MoreAsserts.assertNotContainsRegex(String expectedRegex,
String actual)
Variant of MoreAsserts.assertNotContainsRegex(String,String,String) using a
generic message. |
|
static void |
MoreAsserts.assertNotContainsRegex(String message,
String expectedRegex,
String actual)
Asserts that expectedRegex does not match any substring of
actual, and fails with message if it does. |
|
static void |
MoreAsserts.assertNotEmpty(String message,
Iterable<?> iterable)
Asserts that iterable is not empty. |
|
static void |
MoreAsserts.assertNotEmpty(String message,
Map<?,?> map)
Asserts that map is not empty. |
|
static void |
MoreAsserts.assertNotEqual(String message,
Object unexpected,
Object actual)
Asserts that actual is not equal unexpected, according
to both == and Object.equals(java.lang.Object). |
|
static void |
MoreAsserts.assertNotMatchesRegex(String expectedRegex,
String actual)
Variant of MoreAsserts.assertNotMatchesRegex(String,String,String) using a
generic message. |
|
static void |
MoreAsserts.assertNotMatchesRegex(String message,
String expectedRegex,
String actual)
Asserts that expectedRegex does not exactly match actual,
and fails with message if it does. |
|
static void |
MoreAsserts.checkEqualsAndHashCodeMethods(String message,
Object lhs,
Object rhs,
boolean expectedResult)
Utility for testing equals() and hashCode() results at once. |
|
int |
IsolatedContext.checkUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags)
|
|
static int |
TestRunner.countTests(Context c,
String className)
Returns the number of tests that will be run if you try to do this. |
|
boolean |
RenamingDelegatingContext.deleteDatabase(String name)
|
|
boolean |
RenamingDelegatingContext.deleteFile(String name)
|
|
void |
TestRecorder.failed(String className,
String reason)
Reports a test case failure. |
|
void |
TestRecorder.failed(String className,
Throwable exception)
|
|
void |
TestPrinter.failed(String className,
Throwable exception)
|
|
void |
TestRunner.failed(String className,
Throwable exception)
|
|
void |
TestRunner.Listener.failed(String className,
Throwable execption)
|
|
void |
TestRecorder.finished(String className)
|
|
void |
TestPrinter.finished(String className)
|
|
void |
TestRunner.Listener.finished(String className)
|
|
static String[] |
TestRunner.getChildren(Context c,
String className)
|
|
static Method |
TestRunner.getChildrenMethod(Context c,
String className)
|
|
File |
RenamingDelegatingContext.getFileStreamPath(String name)
|
|
static int |
InstrumentationUtils.getMenuIdentifier(Class cls,
String identifier)
An utility function that returns the menu identifier for a particular menu item. |
|
ClassPathPackageInfo |
ClassPathPackageInfoSource.getPackageInfo(String pkgName)
|
|
Object |
IsolatedContext.getSystemService(String name)
|
|
static String[] |
TestRunner.getTestChildren(Context c,
String className)
|
|
static String |
TestRunner.getTitle(String className)
Returns a title to display given the className of a test. |
|
boolean |
TestRunner.isJunitTest(String className)
|
|
static boolean |
TestRunner.isTestSuite(Context c,
String className)
|
|
|
InstrumentationTestCase.launchActivity(String pkg,
Class<T> activityCls,
Bundle extras)
Utility method for launching an activity. |
|
|
InstrumentationTestCase.launchActivityWithIntent(String pkg,
Class<T> activityCls,
Intent intent)
Utility method for launching an activity with a specific Intent. |
|
protected Class |
AndroidTestRunner.loadSuiteClass(String suiteClassName)
|
|
static
|
ProviderTestCase.newResolverWithContentProviderFromSql(Context targetContext,
Class<T> providerClass,
String authority,
String databaseName,
int databaseVersion,
String sql)
Deprecated. |
|
static
|
ProviderTestCase2.newResolverWithContentProviderFromSql(Context targetContext,
String filenamePrefix,
Class<T> providerClass,
String authority,
String databaseName,
int databaseVersion,
String sql)
|
|
FileInputStream |
RenamingDelegatingContext.openFileInput(String name)
|
|
FileOutputStream |
RenamingDelegatingContext.openFileOutput(String name,
int mode)
|
|
SQLiteDatabase |
RenamingDelegatingContext.openOrCreateDatabase(String name,
int mode,
SQLiteDatabase.CursorFactory factory)
|
|
void |
TestRecorder.passed(String className)
|
|
void |
TestPrinter.passed(String className)
|
|
void |
TestRunner.passed(String className)
|
|
void |
TestRunner.Listener.passed(String className)
|
|
void |
TestRecorder.performance(String className,
long itemTimeNS,
int iterations,
List<TestRunner.IntermediateTime> intermediates)
|
|
void |
TestPrinter.performance(String className,
long itemTimeNS,
int iterations,
List<TestRunner.IntermediateTime> intermediates)
|
|
void |
TestRunner.Listener.performance(String className,
long itemTimeNS,
int iterations,
List<TestRunner.IntermediateTime> itermediates)
|
|
static
|
RenamingDelegatingContext.providerWithRenamedContext(Class<T> contentProvider,
Context c,
String filePrefix)
|
|
static
|
RenamingDelegatingContext.providerWithRenamedContext(Class<T> contentProvider,
Context c,
String filePrefix,
boolean allowAccessToExistingFilesAndDbs)
|
|
(package private) String |
RenamingDelegatingContext.publicNameFromDiskName(String diskName)
Returns the public name (everything following the prefix) of the given diskName. |
|
void |
TestRunner.run(String className)
|
|
void |
TestRunner.run(String[] classes)
|
|
protected void |
AndroidTestRunner.runFailed(String message)
|
|
void |
TestRunner.runInPerformanceMode(Object testCase,
String className,
boolean junitTest,
String testNameInDb)
|
|
void |
TestRunner.runSingleJunitTest(String className)
|
|
void |
InstrumentationTestCase.sendKeys(String keysSequence)
Sends a series of key events through instrumentation and waits for idle. |
|
void |
IsolatedContext.sendOrderedBroadcast(Intent intent,
String receiverPermission)
|
|
static void |
ClassPathPackageInfoSource.setApkPaths(String[] apkPaths)
|
|
void |
TestBrowserControllerImpl.setTargetBrowserActivityClassName(String targetBrowserActivityClassName)
|
|
void |
TestBrowserController.setTargetBrowserActivityClassName(String targetBrowserActivityClassName)
|
|
void |
TestBrowserControllerImpl.setTargetPackageName(String targetPackageName)
|
|
void |
TestBrowserController.setTargetPackageName(String targetPackageName)
|
|
void |
AndroidTestRunner.setTestClassName(String testClassName,
String testMethodName)
|
|
(package private) boolean |
RenamingDelegatingContext.shouldDiskNameBeVisible(String diskName)
Returns if the given diskName starts with the given prefix or not. |
|
void |
TestRecorder.started(String className)
|
|
void |
TestPrinter.started(String className)
|
|
void |
TestRunner.Listener.started(String className)
|
|
protected void |
SyncBaseInstrumentation.syncProvider(Uri uri,
String account,
String authority)
Syncs the specified provider. |
|
void |
AndroidTestRunner.testEnded(String testName)
|
|
void |
AndroidTestRunner.testStarted(String testName)
|
|
| Method parameters in android.test with type arguments of type String | |
|---|---|
void |
TestRunnerView.setTestNames(List<String> testNames)
|
void |
TestBrowserView.setTestNames(List<String> testNames)
|
void |
TestBrowserActivity.setTestNames(List<String> testNames)
|
| Constructor parameters in android.test with type arguments of type String | |
|---|---|
ClassPathPackageInfo(ClassPathPackageInfoSource source,
String packageName,
Set<String> subpackageNames,
Set<Class<?>> topLevelClasses)
|
|
| Uses of String in android.test.mock |
|---|
| Fields in android.test.mock with type parameters of type String | |
|---|---|
(package private) Map<String,ContentProvider> |
MockContentResolver.mProviders
|
| Methods in android.test.mock that return String | |
|---|---|
String[] |
MockContext.databaseList()
|
String[] |
MockContext.fileList()
|
String |
MockPackageManager.getNameForUid(int uid)
|
String |
MockContext.getPackageCodePath()
|
String |
MockContext.getPackageName()
|
String |
MockContext.getPackageResourcePath()
|
String[] |
MockPackageManager.getPackagesForUid(int uid)
|
String |
MockResources.getQuantityString(int id,
int quantity)
|
String |
MockResources.getQuantityString(int id,
int quantity,
Object... formatArgs)
|
String |
MockResources.getResourceEntryName(int resid)
|
String |
MockResources.getResourceName(int resid)
|
String |
MockResources.getResourcePackageName(int resid)
|
String |
MockResources.getResourceTypeName(int resid)
|
String |
MockResources.getString(int id)
|
String |
MockResources.getString(int id,
Object... formatArgs)
|
String[] |
MockResources.getStringArray(int id)
|
String |
MockContentProvider.getType(Uri url)
|
| Methods in android.test.mock with parameters of type String | |
|---|---|
protected IContentProvider |
MockContentResolver.acquireProvider(Context context,
String name)
|
void |
MockPackageManager.addPackageToPreferred(String packageName)
|
void |
MockContentResolver.addProvider(String name,
ContentProvider provider)
|
IBulkCursor |
MockContentProvider.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
IBulkCursor |
MockContentProvider.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
IBulkCursor |
MockContentProvider.bulkQuery(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder,
IContentObserver observer,
CursorWindow window)
|
int |
MockContext.checkCallingOrSelfPermission(String permission)
|
int |
MockContext.checkCallingPermission(String permission)
|
int |
MockContext.checkPermission(String permission,
int pid,
int uid)
|
int |
MockPackageManager.checkPermission(String permName,
String pkgName)
|
int |
MockPackageManager.checkSignatures(String pkg1,
String pkg2)
|
int |
MockContext.checkUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags)
|
void |
MockPackageManager.clearApplicationUserData(String packageName,
IPackageDataObserver observer)
|
void |
MockPackageManager.clearPackagePreferredActivities(String packageName)
|
Context |
MockContext.createPackageContext(String packageName,
int flags)
|
int |
MockContentProvider.delete(Uri url,
String selection,
String[] selectionArgs)
|
int |
MockContentProvider.delete(Uri url,
String selection,
String[] selectionArgs)
|
void |
MockPackageManager.deleteApplicationCacheFiles(String packageName,
IPackageDataObserver observer)
|
boolean |
MockContext.deleteDatabase(String name)
|
boolean |
MockContext.deleteFile(String name)
|
void |
MockPackageManager.deletePackage(String packageName,
IPackageDeleteObserver observer,
int flags)
|
void |
MockContext.enforceCallingOrSelfPermission(String permission,
String message)
|
void |
MockContext.enforceCallingOrSelfUriPermission(Uri uri,
int modeFlags,
String message)
|
void |
MockContext.enforceCallingPermission(String permission,
String message)
|
void |
MockContext.enforceCallingUriPermission(Uri uri,
int modeFlags,
String message)
|
void |
MockContext.enforcePermission(String permission,
int pid,
int uid,
String message)
|
void |
MockContext.enforceUriPermission(Uri uri,
int pid,
int uid,
int modeFlags,
String message)
|
void |
MockContext.enforceUriPermission(Uri uri,
String readPermission,
String writePermission,
int pid,
int uid,
int modeFlags,
String message)
|
int |
MockPackageManager.getApplicationEnabledSetting(String packageName)
|
Drawable |
MockPackageManager.getApplicationIcon(String packageName)
|
ApplicationInfo |
MockPackageManager.getApplicationInfo(String packageName,
int flags)
|
File |
MockContext.getDatabasePath(String name)
|
File |
MockContext.getDir(String name,
int mode)
|
Drawable |
MockPackageManager.getDrawable(String packageName,
int resid,
ApplicationInfo appInfo)
|
File |
MockContext.getFileStreamPath(String name)
|
int |
MockResources.getIdentifier(String name,
String defType,
String defPackage)
|
PackageInfo |
MockPackageManager.getPackageArchiveInfo(String archiveFilePath,
int flags)
|
int[] |
MockPackageManager.getPackageGids(String packageName)
|
PackageInfo |
MockPackageManager.getPackageInfo(String packageName,
int flags)
|
void |
MockPackageManager.getPackageSizeInfo(String packageName,
IPackageStatsObserver observer)
|
PermissionGroupInfo |
MockPackageManager.getPermissionGroupInfo(String name,
int flags)
|
PermissionInfo |
MockPackageManager.getPermissionInfo(String name,
int flags)
|
int |
MockPackageManager.getPreferredActivities(List<IntentFilter> outFilters,
List<ComponentName> outActivities,
String packageName)
|
Resources |
MockPackageManager.getResourcesForApplication(String appPackageName)
|
SharedPreferences |
MockContext.getSharedPreferences(String name,
int mode)
|
Object |
MockContext.getSystemService(String name)
|
CharSequence |
MockPackageManager.getText(String packageName,
int resid,
ApplicationInfo appInfo)
|
int |
MockPackageManager.getUidForSharedUser(String sharedUserName)
|
void |
MockResources.getValue(String name,
TypedValue outValue,
boolean resolveRefs)
|
XmlResourceParser |
MockPackageManager.getXml(String packageName,
int resid,
ApplicationInfo appInfo)
|
void |
MockContext.grantUriPermission(String toPackage,
Uri uri,
int modeFlags)
|
ParcelFileDescriptor |
MockContentProvider.openFile(Uri url,
String mode)
|
FileInputStream |
MockContext.openFileInput(String name)
|
FileOutputStream |
MockContext.openFileOutput(String name,
int mode)
|
SQLiteDatabase |
MockContext.openOrCreateDatabase(String file,
int mode,
SQLiteDatabase.CursorFactory factory)
|
Cursor |
MockContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
Cursor |
MockContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
Cursor |
MockContentProvider.query(Uri url,
String[] projection,
String selection,
String[] selectionArgs,
String sortOrder)
|
List<ProviderInfo> |
MockPackageManager.queryContentProviders(String processName,
int uid,
int flags)
|
List<InstrumentationInfo> |
MockPackageManager.queryInstrumentation(String targetPackage,
int flags)
|
List<PermissionInfo> |
MockPackageManager.queryPermissionsByGroup(String group,
int flags)
|
Intent |
MockContext.registerReceiver(BroadcastReceiver receiver,
IntentFilter filter,
String broadcastPermission,
Handler scheduler)
|
void |
MockPackageManager.removePackageFromPreferred(String packageName)
|
void |
MockPackageManager.removePermission(String name)
|
ProviderInfo |
MockPackageManager.resolveContentProvider(String name,
int flags)
|
void |
MockContext.sendBroadcast(Intent intent,
String receiverPermission)
|
void |
MockContext.sendOrderedBroadcast(Intent intent,
String receiverPermission)
|
void |
MockContext.sendOrderedBroadcast(Intent intent,
String receiverPermission,
BroadcastReceiver resultReceiver,
Handler scheduler,
int initialCode,
String initialData,
Bundle initialExtras)
|
void |
MockPackageManager.setApplicationEnabledSetting(String packageName,
int newState,
int flags)
|
boolean |
MockContext.startInstrumentation(ComponentName className,
String profileFile,
Bundle arguments)
|
int |
MockContentProvider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
int |
MockContentProvider.update(Uri url,
ContentValues values,
String selection,
String[] selectionArgs)
|
| Uses of String in android.test.suitebuilder |
|---|
| Fields in android.test.suitebuilder declared as String | |
|---|---|
protected String |
TestGrouping.firstIncludedPackage
|
| Methods in android.test.suitebuilder that return String | |
|---|---|
String |
TestMethod.getEnclosingClassname()
|
String |
TestGrouping.getFirstIncludedPackage()
|
String |
TestMethod.getName()
|
protected String |
TestSuiteBuilder.getSuiteName()
Subclasses use this method to determine the name of the suite. |
String |
TestMethod.toString()
|
| Methods in android.test.suitebuilder with parameters of type String | |
|---|---|
TestGrouping |
TestGrouping.addPackagesRecursive(String... packageNames)
Include all tests in the given packages and all their sub-packages, unless otherwise specified. |
TestSuiteBuilder |
TestSuiteBuilder.addTestClassByName(String testClassName,
String testMethodName,
Context context)
|
TestSuiteBuilder |
TestSuiteBuilder.excludePackages(String... packageNames)
Exclude all tests in the given packages and all sub-packages, unless otherwise specified. |
TestSuiteBuilder |
TestSuiteBuilder.includePackages(String... packageNames)
Include all tests that satisfy the requirements in the given packages and all sub-packages, unless otherwise specified. |
TestSuiteBuilder |
TestSuiteBuilder.named(String newSuiteName)
Override the default name for the suite being built. |
TestGrouping |
TestGrouping.removePackagesRecursive(String... packageNames)
Exclude all tests in the given packages and all their sub-packages, unless otherwise specified. |
| Constructors in android.test.suitebuilder with parameters of type String | |
|---|---|
InstrumentationTestSuiteBuilder(String name,
ClassLoader classLoader)
|
|
SmokeTestSuiteBuilder(String name,
ClassLoader classLoader)
|
|
TestMethod(String methodName,
Class<? extends TestCase> enclosingClass)
|
|
TestSuiteBuilder(String name,
ClassLoader classLoader)
|
|
UnitTestSuiteBuilder(String name,
ClassLoader classLoader)
|
|
| Uses of String in android.text |
|---|
| Methods in android.text that return String | |
|---|---|
static String |
AutoText.get(CharSequence src,
int start,
int end,
View view)
Retrieves a possible spelling correction for the specified range of text. |
String |
Annotation.getKey()
|
String |
Annotation.getValue()
|
static String |
TextUtils.htmlEncode(String s)
Html-encode the string. |
static String |
TextUtils.join(CharSequence delimiter,
Iterable tokens)
Returns a string containing the tokens joined by delimiters. |
static String |
TextUtils.join(CharSequence delimiter,
Object[] tokens)
Returns a string containing the tokens joined by delimiters. |
String |
TextUtils.SimpleStringSplitter.next()
|
static String[] |
TextUtils.split(String text,
Pattern pattern)
Splits a string on a pattern. |
static String[] |
TextUtils.split(String text,
String expression)
String.split() returns [''] when the string to be split is empty. |
static String |
TextUtils.substring(CharSequence source,
int start,
int end)
|
static String |
Html.toHtml(Spanned text)
Returns an HTML representation of the provided Spanned text. |
String |
AlteredCharSequence.toString()
|
String |
Layout.Ellipsizer.toString()
|
String |
SpannableStringInternal.toString()
|
String |
BoringLayout.Metrics.toString()
|
String |
SpannableStringBuilder.toString()
Return a String containing a copy of the chars in this buffer. |
| Methods in android.text that return types with arguments of type String | |
|---|---|
Iterator<String> |
TextUtils.SimpleStringSplitter.iterator()
|
| Methods in android.text with parameters of type String | |
|---|---|
static CharSequence |
TextUtils.commaEllipsize(CharSequence text,
TextPaint p,
float avail,
String oneMore,
String more)
Converts a CharSequence of the comma-separated form "Andy, Bob, Charles, David" that is too wide to fit into the specified width into one like "Andy, Bob, 2 more". |
static void |
TextUtils.dumpSpans(CharSequence cs,
Printer printer,
String prefix)
Debugging tool to print the spans in a CharSequence. |
void |
HtmlToSpannedConverter.endElement(String uri,
String localName,
String qName)
|
void |
HtmlToSpannedConverter.endPrefixMapping(String prefix)
|
static Spanned |
Html.fromHtml(String source)
Returns displayable styled text from the provided HTML string. |
static Spanned |
Html.fromHtml(String source,
Html.ImageGetter imageGetter,
Html.TagHandler tagHandler)
Returns displayable styled text from the provided HTML string. |
Drawable |
Html.ImageGetter.getDrawable(String source)
This methos is called when the HTML parser encounters an <img> tag. |
void |
Html.TagHandler.handleTag(boolean opening,
String tag,
Editable output,
XMLReader xmlReader)
This method will be called whenn the HTML parser encounters a tag that it does not know how to interpret. |
static String |
TextUtils.htmlEncode(String s)
Html-encode the string. |
void |
HtmlToSpannedConverter.processingInstruction(String target,
String data)
|
static CharSequence |
TextUtils.replace(CharSequence template,
String[] sources,
CharSequence[] destinations)
Return a new CharSequence in which each of the source strings is replaced by the corresponding element of the destinations. |
void |
TextUtils.StringSplitter.setString(String string)
|
void |
TextUtils.SimpleStringSplitter.setString(String string)
Sets the string to split |
void |
HtmlToSpannedConverter.skippedEntity(String name)
|
static String[] |
TextUtils.split(String text,
Pattern pattern)
Splits a string on a pattern. |
static String[] |
TextUtils.split(String text,
String expression)
String.split() returns [''] when the string to be split is empty. |
void |
HtmlToSpannedConverter.startElement(String uri,
String localName,
String qName,
Attributes attributes)
|
void |
HtmlToSpannedConverter.startPrefixMapping(String prefix,
String uri)
|
static TextUtils.TruncateAt |
TextUtils.TruncateAt.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Layout.Alignment |
Layout.Alignment.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in android.text with parameters of type String | |
|---|---|
Annotation(String key,
String value)
|
|
HtmlToSpannedConverter(String source,
Html.ImageGetter imageGetter,
Html.TagHandler tagHandler,
org.ccil.cowan.tagsoup.Parser parser)
|
|
| Uses of String in android.text.format |
|---|
| Fields in android.text.format declared as String | |
|---|---|
static String |
DateUtils.ABBREV_MONTH_FORMAT
|
static String |
DateUtils.ABBREV_WEEKDAY_FORMAT
|
static String |
DateUtils.HOUR_MINUTE_24
|
static String |
DateUtils.MONTH_DAY_FORMAT
|
static String |
DateUtils.MONTH_FORMAT
|
static String |
DateUtils.NUMERIC_MONTH_FORMAT
|
String |
Time.timezone
The timezone for this Time. |
static String |
Time.TIMEZONE_UTC
|
static String |
DateUtils.WEEKDAY_FORMAT
|
static String |
DateUtils.YEAR_FORMAT
|
static String |
DateUtils.YEAR_FORMAT_TWO_DIGITS
|
| Methods in android.text.format that return String | |
|---|---|
String |
Time.format(String format)
Print the current value given the format string provided. |
String |
Time.format2445()
Format according to RFC 2445 DATETIME type. |
String |
Time.format3339(boolean allDay)
Return a string in the RFC 3339 format. |
static String |
DateUtils.formatDateRange(Context context,
long startMillis,
long endMillis,
int flags)
Formats a date or a time range according to the local conventions. |
static String |
DateUtils.formatDateTime(Context context,
long millis,
int flags)
Formats a date or a time according to the local conventions. |
static String |
DateUtils.formatElapsedTime(long elapsedSeconds)
Formats an elapsed time in the form "MM:SS" or "H:MM:SS" for display on the call-in-progress screen. |
static String |
Formatter.formatFileSize(Context context,
long number)
Formats a content size to be in the form of bytes, kilobytes, megabytes, etc |
static String |
Formatter.formatIpAddress(int addr)
Returns a string in the canonical IP format ###.###.###.### from a packed integer containing the IP address. |
static String |
DateUtils.getAMPMString(int ampm)
Return a localized string for AM or PM. |
static String |
Time.getCurrentTimezone()
Returns the timezone string that is currently set for the device. |
static String |
DateUtils.getDayOfWeekString(int dayOfWeek,
int abbrev)
Return a string for the day of the week. |
static String |
DateUtils.getMonthString(int month,
int abbrev)
Return a localized string for the day of the week. |
String |
Time.toString()
Return the current time in YYYYMMDDTHHMMSS |
static String |
DateUtils.writeDateTime(Calendar cal)
Deprecated. use Time |
static String |
DateUtils.writeDateTime(Calendar cal,
boolean zulu)
Deprecated. use Time |
static String |
DateUtils.writeDateTime(Calendar cal,
StringBuilder sb)
Deprecated. use Time |
| Methods in android.text.format with parameters of type String | |
|---|---|
void |
Time.clear(String timezone)
Clears all values, setting the timezone to the given timezone. |
String |
Time.format(String format)
Print the current value given the format string provided. |
static boolean |
DateUtils.isUTC(String s)
Deprecated. use Time
Return true if this date string is local time |
boolean |
Time.parse(String s)
Parses a date-time string in either the RFC 2445 format or an abbreviated format that does not include the "time" field. |
boolean |
Time.parse3339(String s)
Parse a time in RFC 3339 format. |
static boolean |
DateUtils.parseDateTime(String str,
Calendar cal)
Deprecated. use Time |
static void |
DateUtils.parseDateTime(String tz,
String dateTime,
Calendar out)
Deprecated. use Time |
void |
Time.switchTimezone(String timezone)
Convert this time object so the time represented remains the same, but is instead located in a different timezone. |
| Constructors in android.text.format with parameters of type String | |
|---|---|
Time(String timezone)
Construct a Time object in the timezone named by the string argument "timezone". |
|
| Uses of String in android.text.method |
|---|
| Methods in android.text.method with parameters of type String | |
|---|---|
static DigitsKeyListener |
DigitsKeyListener.getInstance(String accepted)
Returns a DigitsKeyListener that accepts only the characters that appear in the specified String. |
static void |
QwertyKeyListener.markAsReplaced(Spannable content,
int start,
int end,
String original)
Marks the specified region of content as having
contained original prior to AutoText replacement. |
static TextKeyListener.Capitalize |
TextKeyListener.Capitalize.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in android.text.method with parameters of type String | |
|---|---|
CharacterPickerDialog(Context context,
View view,
Editable text,
String options,
boolean insert)
Creates a new CharacterPickerDialog that presents the specified options for insertion or replacement (depending on
the sense of insert) into text. |
|
| Uses of String in android.text.style |
|---|
| Methods in android.text.style that return String | |
|---|---|
String |
TypefaceSpan.getFamily()
Returns the font family name. |
String |
TextAppearanceSpan.getFamily()
Returns the typeface family specified by this span, or null
if it does not specify one. |
String |
ImageSpan.getSource()
Returns the source string that was saved during construction. |
String |
URLSpan.getURL()
|
| Constructors in android.text.style with parameters of type String | |
|---|---|
ImageSpan(Drawable d,
String source)
|
|
ImageSpan(Drawable d,
String source,
int verticalAlignment)
|
|
TextAppearanceSpan(String family,
int style,
int size,
ColorStateList color,
ColorStateList linkColor)
Makes text be drawn with the specified typeface, size, style, and colors. |
|
TypefaceSpan(String family)
|
|
URLSpan(String url)
|
|
| Uses of String in android.text.util |
|---|
| Fields in android.text.util declared as String | |
|---|---|
(package private) String |
LinkSpec.url
|
| Methods in android.text.util that return String | |
|---|---|
static String |
Regex.concatGroups(Matcher matcher)
Convenience method to take all of the non-null matching groups in a regex Matcher and return them as a concatenated string. |
static String |
Regex.digitsAndPlusOnly(Matcher matcher)
Convenience method to return only the digits and plus signs in the matching string. |
String |
Rfc822Token.getAddress()
Returns the address part. |
String |
Rfc822Token.getComment()
Returns the comment part. |
String |
Rfc822Token.getName()
Returns the name part. |
static String |
Rfc822Token.quoteComment(String comment)
Returns the comment, with internal backslashes and parentheses preceded by backslashes. |
static String |
Rfc822Token.quoteName(String name)
Returns the name, with internal backslashes and quotation marks preceded by backslashes. |
static String |
Rfc822Token.quoteNameIfNecessary(String name)
Returns the name, conservatively quoting it if there are any characters that are likely to cause trouble outside of a quoted string, or returning it literally if it seems safe. |
String |
Rfc822Token.toString()
Returns the name (with quoting added if necessary), the comment (in parentheses), and the address (in angle brackets). |
String |
Linkify.TransformFilter.transformUrl(Matcher match,
String url)
Examines the matched text and either passes it through or uses the data in the Matcher state to produce a replacement. |
| Methods in android.text.util with parameters of type String | |
|---|---|
static boolean |
Linkify.addLinks(Spannable text,
Pattern pattern,
String scheme)
Applies a regex to a Spannable turning the matches into links. |
static boolean |
Linkify.addLinks(Spannable s,
Pattern p,
String scheme,
Linkify.MatchFilter matchFilter,
Linkify.TransformFilter transformFilter)
Applies a regex to a Spannable turning the matches into links. |
static void |
Linkify.addLinks(TextView text,
Pattern pattern,
String scheme)
Applies a regex to the text of a TextView turning the matches into links. |
static void |
Linkify.addLinks(TextView text,
Pattern p,
String scheme,
Linkify.MatchFilter matchFilter,
Linkify.TransformFilter transformFilter)
Applies a regex to the text of a TextView turning the matches into links. |
static String |
Rfc822Token.quoteComment(String comment)
Returns the comment, with internal backslashes and parentheses preceded by backslashes. |
static String |
Rfc822Token.quoteName(String name)
Returns the name, with internal backslashes and quotation marks preceded by backslashes. |
static String |
Rfc822Token.quoteNameIfNecessary(String name)
Returns the name, conservatively quoting it if there are any characters that are likely to cause trouble outside of a quoted string, or returning it literally if it seems safe. |
void |
Rfc822Token.setAddress(String address)
Changes the address to the specified address. |
void |
Rfc822Token.setComment(String comment)
Changes the comment to the specified comment. |
void |
Rfc822Token.setName(String name)
Changes the name to the specified name. |
String |
Linkify.TransformFilter.transformUrl(Matcher match,
String url)
Examines the matched text and either passes it through or uses the data in the Matcher state to produce a replacement. |
| Constructors in android.text.util with parameters of type String | |
|---|---|
Rfc822Token(String name,
String address,
String comment)
Creates a new Rfc822Token with the specified name, address, and comment. |
|
Rfc822Validator(String domain)
Deprecated. Constructs a new validator that uses the specified domain name as the default when none is specified. |
|
| Uses of String in android.util |
|---|
| Fields in android.util declared as String | |
|---|---|
(package private) String |
Xml.Encoding.expatName
|
static String |
Xml.FEATURE_RELAXED
XmlPullParser "relaxed" feature name. |
String |
EventLogTags.Description.mName
|
(package private) static String |
Xml.XmlSerializerFactory.TYPE
|
| Fields in android.util with type parameters of type String | |
|---|---|
(package private) ArrayList<String> |
TimingLogger.mSplitLabels
Stores the labels for each split. |
| Methods in android.util that return String | |
|---|---|
static String |
TypedValue.coerceToString(int type,
int data)
Perform type conversion as per TypedValue.coerceToString() on an
explicitly supplied type and data. |
static String |
StateSet.dump(int[] states)
|
String |
AttributeSet.getAttributeName(int index)
|
String |
XmlPullAttributes.getAttributeName(int index)
|
String |
AttributeSet.getAttributeValue(int index)
|
String |
XmlPullAttributes.getAttributeValue(int index)
|
String |
AttributeSet.getAttributeValue(String namespace,
String name)
|
String |
XmlPullAttributes.getAttributeValue(String namespace,
String name)
|
String |
AttributeSet.getClassAttribute()
Return the value of the "class" attribute or null if there is not one. |
String |
XmlPullAttributes.getClassAttribute()
|
String |
AttributeSet.getIdAttribute()
Return the value of the "id" attribute or null if there is not one. |
String |
XmlPullAttributes.getIdAttribute()
|
String |
AttributeSet.getPositionDescription()
|
String |
XmlPullAttributes.getPositionDescription()
|
static String |
Log.getStackTraceString(Throwable tr)
Handy function to get a loggable stack trace from a Throwable |
static String |
TimeUtils.getTimeZoneDatabaseVersion()
Returns a String indicating the version of the time zone database currently in use. |
String |
TypedValue.toString()
|
| Methods in android.util with parameters of type String | |
|---|---|
void |
TimingLogger.addSplit(String splitLabel)
Add a split for the current time, labeled with splitLabel. |
static int |
Log.d(String tag,
String msg)
Send a Log.DEBUG log message. |
static int |
Log.d(String tag,
String msg,
Throwable tr)
Send a Log.DEBUG log message and log the exception. |
static int |
Log.e(String tag,
String msg)
Send an Log.ERROR log message. |
static int |
Log.e(String tag,
String msg,
Throwable tr)
Send a Log.ERROR log message and log the exception. |
static Xml.Encoding |
Xml.findEncodingByName(String encodingName)
Finds an encoding by name. |
EventLogTags.Description |
EventLogTags.get(String name)
|
boolean |
AttributeSet.getAttributeBooleanValue(String namespace,
String attribute,
boolean defaultValue)
Return the boolean value of 'attribute'. |
boolean |
XmlPullAttributes.getAttributeBooleanValue(String namespace,
String attribute,
boolean defaultValue)
|
float |
AttributeSet.getAttributeFloatValue(String namespace,
String attribute,
float defaultValue)
Return the float value of 'attribute'. |
float |
XmlPullAttributes.getAttributeFloatValue(String namespace,
String attribute,
float defaultValue)
|
int |
AttributeSet.getAttributeIntValue(String namespace,
String attribute,
int defaultValue)
Return the integer value of 'attribute'. |
int |
XmlPullAttributes.getAttributeIntValue(String namespace,
String attribute,
int defaultValue)
|
int |
AttributeSet.getAttributeListValue(int index,
String[] options,
int defaultValue)
Return the index of the value of attribute at 'index' in the list 'options'. |
int |
XmlPullAttributes.getAttributeListValue(int index,
String[] options,
int defaultValue)
|
int |
AttributeSet.getAttributeListValue(String namespace,
String attribute,
String[] options,
int defaultValue)
Return the index of the value of 'attribute' in the list 'options'. |
int |
AttributeSet.getAttributeListValue(String namespace,
String attribute,
String[] options,
int defaultValue)
Return the index of the value of 'attribute' in the list 'options'. |
int |
XmlPullAttributes.getAttributeListValue(String namespace,
String attribute,
String[] options,
int defaultValue)
|
int |
XmlPullAttributes.getAttributeListValue(String namespace,
String attribute,
String[] options,
int defaultValue)
|
int |
AttributeSet.getAttributeResourceValue(String namespace,
String attribute,
int defaultValue)
Return the value of 'attribute' as a resource identifier. |
int |
XmlPullAttributes.getAttributeResourceValue(String namespace,
String attribute,
int defaultValue)
|
int |
AttributeSet.getAttributeUnsignedIntValue(String namespace,
String attribute,
int defaultValue)
Return the boolean value of 'attribute' that is formatted as an unsigned value. |
int |
XmlPullAttributes.getAttributeUnsignedIntValue(String namespace,
String attribute,
int defaultValue)
|
String |
AttributeSet.getAttributeValue(String namespace,
String name)
|
String |
XmlPullAttributes.getAttributeValue(String namespace,
String name)
|
static TimeZone |
TimeUtils.getTimeZone(int offset,
boolean dst,
long when,
String country)
Tries to return a time zone that would have had the specified offset and DST value at the specified moment in the specified country. |
static int |
Log.i(String tag,
String msg)
Send an Log.INFO log message. |
static int |
Log.i(String tag,
String msg,
Throwable tr)
Send a Log.INFO log message and log the exception. |
static boolean |
Log.isLoggable(String tag,
int level)
Checks to see whether or not a log for the specified tag is loggable at the specified level. |
static void |
Xml.parse(String xml,
ContentHandler contentHandler)
Parses the given xml string and fires events on the given SAX handler. |
static int |
Log.println(int priority,
String tag,
String msg)
Low-level logging call. |
void |
Printer.println(String x)
Write a line of text to the output. |
void |
StringBuilderPrinter.println(String x)
|
void |
PrintStreamPrinter.println(String x)
|
void |
LogPrinter.println(String x)
|
void |
PrintWriterPrinter.println(String x)
|
void |
TimingLogger.reset(String tag,
String label)
Clear and initialize a TimingLogger object that will log using the specific tag. |
static int |
Log.v(String tag,
String msg)
Send a Log.VERBOSE log message. |
static int |
Log.v(String tag,
String msg,
Throwable tr)
Send a Log.VERBOSE log message and log the exception. |
static Xml.Encoding |
Xml.Encoding.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static int |
Log.w(String tag,
String msg)
Send a Log.WARN log message. |
static int |
Log.w(String tag,
String msg,
Throwable tr)
Send a Log.WARN log message and log the exception. |
static int |
Log.w(String tag,
Throwable tr)
|
static int |
EventLog.writeEvent(int tag,
String str)
Send an event log message. |
| Constructors in android.util with parameters of type String | |
|---|---|
AndroidException(String name)
|
|
AndroidRuntimeException(String name)
|
|
EventLogTags.Description(int tag,
String name)
|
|
LogPrinter(int priority,
String tag)
Create a new Printer that sends to the log with the given priority and tag. |
|
TimeFormatException(String s)
|
|
TimingLogger(String tag,
String label)
Create and initialize a TimingLogger object that will log using the specific tag. |
|
| Uses of String in android.view |
|---|
| Fields in android.view declared as String | |
|---|---|
String |
WindowManager.LayoutParams.packageName
Name of the package owning this window. |
(package private) static String |
ViewDebug.SYSTEM_PROPERTY_CAPTURE_EVENT
The system property of dynamic switch for capturing event information when it is set, we log key events, touch/motion and trackball events |
(package private) static String |
ViewDebug.SYSTEM_PROPERTY_CAPTURE_VIEW
The system property of dynamic switch for capturing view information when it is set, we dump interested fields and methods for the view on focus |
(package private) static String |
VelocityTracker.TAG
|
protected static String |
View.VIEW_LOG_TAG
The logging tag used by this class with android.util.Log. |
| Methods in android.view that return String | |
|---|---|
String |
WindowManager.LayoutParams.debug(String output)
|
String |
ViewGroup.LayoutParams.debug(String output)
Returns a String representation of this set of layout parameters. |
protected static String |
View.debugIndent(int depth)
Creates an string of whitespaces used for indentation. |
protected static String |
ViewGroup.LayoutParams.sizeToString(int size)
Converts the specified size to a readable String. |
String |
MotionEvent.toString()
|
String |
WindowManager.LayoutParams.toString()
|
String |
Surface.toString()
|
String |
KeyEvent.toString()
|
static String |
View.MeasureSpec.toString(int measureSpec)
Returns a String representation of the specified measure specification. |
| Methods in android.view with parameters of type String | |
|---|---|
View |
WindowManagerPolicy.addStartingWindow(IBinder appToken,
String packageName,
int theme,
CharSequence nonLocalizedLabel,
int labelRes,
int icon)
Called when the system would like to show a UI to indicate that an application is starting. |
void |
WindowManagerImpl.closeAll(IBinder token,
String who,
String what)
|
(package private) float |
ViewRoot.TrackballAxis.collect(float off,
long time,
String axis)
Add trackball movement into the state. |
View |
LayoutInflater.createView(String name,
String prefix,
AttributeSet attrs)
Low-level function for instantiating a view by name. |
(package private) View |
LayoutInflater.createViewFromTag(String name,
AttributeSet attrs)
|
String |
WindowManager.LayoutParams.debug(String output)
|
String |
ViewGroup.LayoutParams.debug(String output)
Returns a String representation of this set of layout parameters. |
void |
IWindowManager.disableKeyguard(IBinder token,
String tag)
|
(package private) static void |
ViewDebug.dispatchCommand(View view,
String command,
String parameters,
OutputStream clientStream)
|
static void |
ViewDebug.dumpCapturedView(String tag,
Object view)
dump view info for id based instrument test generation (and possibly further data analysis). |
void |
ViewRoot.W.executeCommand(String command,
String parameters,
ParcelFileDescriptor out)
|
void |
IWindow.executeCommand(String command,
String parameters,
ParcelFileDescriptor descriptor)
Invoked by the view server to tell a window to execute the specified command. |
Object |
ContextThemeWrapper.getSystemService(String name)
|
protected View |
LayoutInflater.onCreateView(String name,
AttributeSet attrs)
This routine is responsible for creating the correct subclass of View given the xml element name. |
View |
LayoutInflater.Factory.onCreateView(String name,
Context context,
AttributeSet attrs)
Hook you can supply that is called when inflating from a LayoutInflater. |
void |
IWindowManager.setAppStartingWindow(IBinder token,
String pkg,
int theme,
CharSequence nonLocalizedLabel,
int labelRes,
int icon,
IBinder transferFrom,
boolean createIfNeeded)
|
void |
Window.setWindowManager(WindowManager wm,
IBinder appToken,
String appName)
Set the window manager for use by this Window to, for example, display panels. |
static void |
ViewDebug.startHierarchyTracing(String prefix,
View view)
Starts tracing the view hierarchy of the specified view. |
static void |
ViewDebug.startRecyclerTracing(String prefix,
View view)
Starts tracing the view recycler of the specified view. |
static ViewDebug.HierarchyTraceType |
ViewDebug.HierarchyTraceType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ViewDebug.RecyclerTraceType |
ViewDebug.RecyclerTraceType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in android.view with parameters of type String | |
|---|---|
InflateException(String detailMessage)
|
|
InflateException(String detailMessage,
Throwable throwable)
|
|
Surface.OutOfResourcesException(String name)
|
|
SurfaceHolder.BadSurfaceTypeException(String name)
|
|
ViewRoot.CalledFromWrongThreadException(String msg)
|
|
WindowLeaked(String msg)
|
|
WindowManager.BadTokenException(String name)
|
|
| Uses of String in android.view.animation |
|---|
| Methods in android.view.animation that return String | |
|---|---|
String |
Transformation.toShortString()
Return a string representation of the transformation in a compact form. |
String |
Transformation.toString()
|
| Uses of String in android.view.inputmethod |
|---|
| Fields in android.view.inputmethod declared as String | |
|---|---|
static String |
InputMethodManager.BUILDIN_INPUTMETHOD_PACKAGE
The package name of the build-in input method. |
(package private) String |
InputMethodManager.mCurId
ID of the method we are bound to. |
(package private) String |
InputMethodInfo.mId
The unique string Id to identify the input method. |
(package private) String |
InputMethodInfo.mSettingsActivityName
The input method setting activity's name, used by the system settings to launch the setting activity of this input method. |
String |
EditorInfo.privateContentType
A string supplying additional information about the content type that is private to a particular IME implementation. |
static String |
InputMethod.SERVICE_INTERFACE
This is the interface name that a service implementing an input method should say that it supports -- that is, this is the action it uses for its intent filter. |
static String |
InputMethod.SERVICE_META_DATA
Name under which an InputMethod service component publishes information about itself. |
(package private) static String |
CompletionInfo.TAG
|
(package private) static String |
InputMethodInfo.TAG
|
(package private) static String |
InputBinding.TAG
|
(package private) static String |
InputMethodManager.TAG
|
| Methods in android.view.inputmethod that return String | |
|---|---|
String |
InputMethodInfo.getId()
Return a unique ID for this input method. |
String |
InputMethodInfo.getPackageName()
Return the .apk package that implements this input method. |
String |
InputMethodInfo.getServiceName()
Return the class name of the service component that implements this input method. |
String |
InputMethodInfo.getSettingsActivity()
Return the class name of an activity that provides a settings UI for the input method. |
String |
CompletionInfo.toString()
|
String |
InputMethodInfo.toString()
|
String |
InputBinding.toString()
|
| Methods in android.view.inputmethod with parameters of type String | |
|---|---|
void |
InputMethodSession.appPrivateCommand(String action,
Bundle data)
Process a private command sent from the application to the input method. |
void |
DefaultInputMethod.appPrivateCommand(String action,
Bundle data)
|
void |
SimpleInputMethod.Session.appPrivateCommand(String action,
Bundle data)
|
void |
InputMethodInfo.dump(Printer pw,
String prefix)
|
boolean |
InputConnection.performPrivateCommand(String action,
Bundle data)
API to send private commands from an input method to its connected editor. |
boolean |
InputMethodManager.NoOpInputConnection.performPrivateCommand(String action,
Bundle data)
|
boolean |
InputConnectionWrapper.performPrivateCommand(String action,
Bundle data)
|
void |
InputMethodManager.setInputMethod(IBinder token,
String id)
Force switch to a new input method component. |
boolean |
InputConnection.showStatusIcon(String packageName,
int resId)
Show an icon in the status bar. |
boolean |
InputMethodManager.NoOpInputConnection.showStatusIcon(String packageName,
int resId)
|
boolean |
BaseInputConnection.showStatusIcon(String packageName,
int resId)
Provides standard implementation for showing the status icon associated with the current input method. |
boolean |
InputConnectionWrapper.showStatusIcon(String packageName,
int resId)
|
void |
InputMethodManager.updateStatusIcon(int iconId,
String iconPackage)
|
| Constructors in android.view.inputmethod with parameters of type String | |
|---|---|
InputMethodInfo(String packageName,
String className,
CharSequence label,
String settingsActivity)
Temporary API for creating a built-in input method. |
|
| Uses of String in android.webkit |
|---|
| Fields in android.webkit declared as String | |
|---|---|
(package private) static String |
URLUtil.ASSET_BASE
|
(package private) String |
CookieManager.Cookie.domain
|
(package private) String |
CacheManager.CacheResult.encoding
|
(package private) String |
CacheManager.CacheResult.etag
|
(package private) static String |
URLUtil.FILE_BASE
|
(package private) static String |
CacheManager.HEADER_KEY_IFMODIFIEDSINCE
|
(package private) static String |
CacheManager.HEADER_KEY_IFNONEMATCH
|
(package private) static String |
FrameLoader.HEADER_STR
|
(package private) String |
CacheManager.CacheResult.lastModified
|
(package private) String |
CacheManager.CacheResult.localPath
|
(package private) String |
CacheManager.CacheResult.location
|
(package private) static String |
WebView.LOGTAG
|
protected static String |
WebSyncManager.LOGTAG
|
protected static String |
WebViewDatabase.LOGTAG
|
(package private) String |
CacheManager.CacheResult.mimeType
|
(package private) String |
CookieManager.Cookie.name
|
static String |
StreamLoader.NO_STORE
|
(package private) String |
CookieManager.Cookie.path
|
(package private) static String |
URLUtil.PROXY_BASE
|
static String |
WebView.SCHEME_GEO
URI scheme for map address |
static String |
WebView.SCHEME_MAILTO
URI scheme for email address |
static String |
WebView.SCHEME_TEL
URI scheme for telephone number |
(package private) static String |
WebViewCore.THREAD_NAME
|
(package private) String |
CookieManager.Cookie.value
|
| Methods in android.webkit that return String | |
|---|---|
static String |
URLUtil.composeSearchUrl(String inQuery,
String template,
String queryPlaceHolder)
|
static String |
WebView.findAddress(String addr)
Return the first substring consisting of the address of a physical location. |
(package private) String |
WebSettings.getAcceptLanguage()
|
String |
CookieManager.getCookie(String url)
Get cookie(s) for a given url so that it can be set to "cookie:" in http request header. |
String |
CookieManager.getCookie(WebAddress uri)
Get cookie(s) for a given uri so that it can be set to "cookie:" in http request header. |
String |
WebSettings.getCursiveFontFamily()
Get the cursive font family name. |
String |
WebSettings.getDefaultTextEncodingName()
Get the default text encoding name. |
String |
Plugin.getDescription()
|
String |
CacheManager.CacheResult.getEncoding()
|
String |
CacheManager.CacheResult.getETag()
|
String |
MimeTypeMap.getExtensionFromMimeType(String mimeType)
|
String |
WebView.HitTestResult.getExtra()
|
String |
WebSettings.getFantasyFontFamily()
Get the fantasy font family name. |
static String |
MimeTypeMap.getFileExtensionFromUrl(String url)
Returns the file extension or an empty string iff there is no extension. |
String |
Plugin.getFileName()
|
String |
WebSettings.getFixedFontFamily()
Get the fixed font family name. |
String[] |
WebView.getHttpAuthUsernamePassword(String host,
String realm)
Retrieve the HTTP authentication username and password for a given host & realm pair |
(package private) String[] |
WebViewDatabase.getHttpAuthUsernamePassword(String host,
String realm)
Retrieve the HTTP authentication username and password for a given host+realm pair |
String |
DateSorter.getLabel(int index)
|
String |
CacheManager.CacheResult.getLastModified()
|
String |
CacheManager.CacheResult.getLocalPath()
|
String |
CacheManager.CacheResult.getLocation()
|
String |
CacheManager.CacheResult.getMimeType()
|
String |
MimeTypeMap.getMimeTypeFromExtension(String extension)
|
String |
Plugin.getName()
|
String |
WebView.getOriginalUrl()
Get the original url for the current page. |
String |
WebHistoryItem.getOriginalUrl()
Return the original url of this history item. |
String |
Plugin.getPath()
|
String |
WebSettings.getPluginsPath()
Return the current path used for plugins in the WebView. |
String |
Network.getProxyHostname()
Get the proxy hostname. |
String |
Network.getProxyPassword()
|
String |
Network.getProxyUsername()
|
(package private) String |
BrowserFrame.getRawResFilename(int id)
|
String |
WebSettings.getSansSerifFontFamily()
Get the sans-serif font family name. |
String |
WebSettings.getSerifFontFamily()
Get the serif font family name. |
String |
WebSettings.getStandardFontFamily()
Get the standard font family name. |
(package private) String |
JsPromptResult.getStringResult()
|
String |
WebView.getTitle()
Get the title for the current page. |
String |
WebHistoryItem.getTitle()
Return the document title of this history item. |
String |
WebView.getUrl()
Get the url for the current page. |
String |
WebHistoryItem.getUrl()
Return the url of this history item. |
String |
WebSettings.getUserAgentString()
Return the WebView's user-agent string. |
(package private) String |
BrowserFrame.getUserAgentString()
Returns the User Agent used by this frame |
(package private) String[] |
WebViewDatabase.getUsernamePassword(String schemePlusHost)
Retrieve the username and password for a given host |
static String |
URLUtil.guessFileName(String url,
String contentDisposition,
String mimeType)
Guesses canonical filename that a download would have, using the URL and contentDisposition. |
static String |
URLUtil.guessUrl(String inUrl)
Cleans up (if possible) user-entered web addresses |
(package private) String |
LoadListener.host()
|
protected String |
WebViewCore.jsPrompt(String url,
String message,
String defaultValue)
Invoke a javascript prompt dialog. |
(package private) String |
LoadListener.mimeType()
|
(package private) static String |
WebViewCore.nativeFindAddress(String addr)
|
String |
CallbackProxy.onJsPrompt(String url,
String message,
String defaultValue)
|
(package private) String |
LoadListener.originalUrl()
|
(package private) String |
LoadListener.realm()
|
String |
BrowserFrame.stringByEvaluatingJavaScriptFromString(String script)
stringByEvaluatingJavaScriptFromString will execute the JS passed in in the context of this browser frame. |
static String |
URLUtil.stripAnchor(String url)
Strips the url of the anchor. |
String |
CookieManager.Cookie.toString()
|
String |
Plugin.toString()
|
(package private) String |
LoadListener.url()
|
| Methods in android.webkit that return types with arguments of type String | |
|---|---|
(package private) ArrayList<String> |
WebViewDatabase.getFormData(String url,
String name)
Get all the values for a form entry with "name" in a given site |
(package private) ArrayList<String> |
WebViewDatabase.trimCache(long amount)
|
| Methods in android.webkit with parameters of type String | |
|---|---|
(package private) void |
WebViewDatabase.addCache(String url,
CacheManager.CacheResult c)
Add or update a cache. |
void |
WebView.addJavascriptInterface(Object obj,
String interfaceName)
Use this function to bind an object to Javascript so that the methods can be accessed from Javascript. |
void |
BrowserFrame.addJavascriptInterface(Object obj,
String interfaceName)
|
static String |
URLUtil.composeSearchUrl(String inQuery,
String template,
String queryPlaceHolder)
|
void |
JsPromptResult.confirm(String result)
Handle a confirmation response from the user. |
static CacheManager.CacheResult |
CacheManager.createCacheFile(String url,
int statusCode,
Headers headers,
String mimeType,
boolean forceCache)
Given a url and its full headers, returns CacheResult if a local cache can be stored. |
(package private) void |
WebViewDatabase.deleteCookies(String domain,
String path,
String name)
Delete cookies which matches (domain, path, name). |
(package private) boolean |
CookieManager.Cookie.domainMatch(String urlHost)
|
void |
CallbackProxy.doUpdateVisitedHistory(String url,
boolean isReload)
|
void |
WebViewClient.doUpdateVisitedHistory(WebView view,
String url,
boolean isReload)
Notify the host application to update its visited links database. |
void |
LoadListener.error(int id,
String description)
Implementation of error handler for EventHandler. |
static String |
WebView.findAddress(String addr)
Return the first substring consisting of the address of a physical location. |
int |
WebView.findAll(String find)
|
(package private) CacheManager.CacheResult |
WebViewDatabase.getCache(String url)
Get a cache item. |
static CacheManager.CacheResult |
CacheManager.getCacheFile(String url,
Map<String,String> headers)
Given a url, returns the CacheResult if exists. |
String |
CookieManager.getCookie(String url)
Get cookie(s) for a given url so that it can be set to "cookie:" in http request header. |
(package private) ArrayList<CookieManager.Cookie> |
CookieSyncManager.getCookiesForDomain(String domain)
Package level api, called from CookieManager. |
(package private) ArrayList<CookieManager.Cookie> |
WebViewDatabase.getCookiesForDomain(String domain)
Get cookies in the format of CookieManager.Cookie inside an ArrayList for a given domain |
String |
MimeTypeMap.getExtensionFromMimeType(String mimeType)
|
static String |
MimeTypeMap.getFileExtensionFromUrl(String url)
Returns the file extension or an empty string iff there is no extension. |
(package private) ArrayList<String> |
WebViewDatabase.getFormData(String url,
String name)
Get all the values for a form entry with "name" in a given site |
String[] |
WebView.getHttpAuthUsernamePassword(String host,
String realm)
Retrieve the HTTP authentication username and password for a given host & realm pair |
(package private) String[] |
WebViewDatabase.getHttpAuthUsernamePassword(String host,
String realm)
Retrieve the HTTP authentication username and password for a given host+realm pair |
static LoadListener |
LoadListener.getLoadListener(Context context,
BrowserFrame frame,
String url,
int nativeLoader,
boolean synchronous,
boolean isMainPageLoader)
|
String |
MimeTypeMap.getMimeTypeFromExtension(String extension)
|
static CacheManager.CacheResult |
UrlInterceptRegistry.getSurrogate(String url,
Map<String,String> headers)
Given an url, returns the CacheResult of the first UrlInterceptHandler interested, or null if none are. |
(package private) String[] |
WebViewDatabase.getUsernamePassword(String schemePlusHost)
Retrieve the username and password for a given host |
static String |
URLUtil.guessFileName(String url,
String contentDisposition,
String mimeType)
Guesses canonical filename that a download would have, using the URL and contentDisposition. |
static String |
URLUtil.guessUrl(String inUrl)
Cleans up (if possible) user-entered web addresses |
(package private) void |
LoadListener.handleAuthResponse(String username,
String password)
Uses user-supplied credentials to restar a request. |
(package private) static boolean |
FrameLoader.handleLocalFile(String url,
LoadListener loadListener,
WebSettings settings)
|
boolean |
BrowserFrame.handleUrl(String url)
This method is called by WebCore to check whether application wants to hijack url loading |
boolean |
MimeTypeMap.hasExtension(String extension)
|
boolean |
MimeTypeMap.hasMimeType(String mimeType)
|
static boolean |
URLUtil.isAboutUrl(String url)
|
static boolean |
URLUtil.isAssetUrl(String url)
|
static boolean |
URLUtil.isContentUrl(String url)
|
static boolean |
URLUtil.isCookielessProxyUrl(String url)
Deprecated. Cookieless proxy is no longer supported. |
static boolean |
URLUtil.isDataUrl(String url)
|
static boolean |
URLUtil.isFileUrl(String url)
|
static boolean |
URLUtil.isHttpsUrl(String url)
|
static boolean |
URLUtil.isHttpUrl(String url)
|
static boolean |
URLUtil.isJavaScriptUrl(String url)
|
static boolean |
URLUtil.isNetworkUrl(String url)
|
static boolean |
URLUtil.isValidUrl(String url)
|
protected void |
WebViewCore.jsAlert(String url,
String message)
Invoke a javascript alert. |
protected boolean |
WebViewCore.jsConfirm(String url,
String message)
Invoke a javascript confirm dialog. |
protected String |
WebViewCore.jsPrompt(String url,
String message,
String defaultValue)
Invoke a javascript prompt dialog. |
protected boolean |
WebViewCore.jsUnload(String url,
String message)
Invoke a javascript before unload dialog. |
void |
WebView.loadData(String data,
String mimeType,
String encoding)
Load the given data into the WebView. |
void |
BrowserFrame.loadData(String baseUrl,
String data,
String mimeType,
String encoding,
String failUrl)
Load the content as if it was loaded by the provided base URL. |
void |
WebView.loadDataWithBaseURL(String baseUrl,
String data,
String mimeType,
String encoding,
String failUrl)
Load the given data into the WebView, use the provided URL as the base URL for the content. |
void |
WebView.loadUrl(String url)
Load the given url. |
void |
BrowserFrame.loadUrl(String url)
Load a url from the network or the filesystem into the main frame. |
(package private) static String |
WebViewCore.nativeFindAddress(String addr)
|
boolean |
CallbackProxy.onDownloadStart(String url,
String userAgent,
String contentDisposition,
String mimetype,
long contentLength)
Starts a download if a download listener has been registered, otherwise return false. |
void |
DownloadListener.onDownloadStart(String url,
String userAgent,
String contentDisposition,
String mimetype,
long contentLength)
Notify the host application that a file should be downloaded |
void |
CallbackProxy.onJsAlert(String url,
String message)
|
boolean |
WebChromeClient.onJsAlert(WebView view,
String url,
String message,
JsResult result)
Tell the client to display a javascript alert dialog. |
boolean |
CallbackProxy.onJsBeforeUnload(String url,
String message)
|
boolean |
WebChromeClient.onJsBeforeUnload(WebView view,
String url,
String message,
JsResult result)
Tell the client to display a dialog to confirm navigation away from the current page. |
boolean |
CallbackProxy.onJsConfirm(String url,
String message)
|
boolean |
WebChromeClient.onJsConfirm(WebView view,
String url,
String message,
JsResult result)
Tell the client to display a confirm dialog to the user. |
String |
CallbackProxy.onJsPrompt(String url,
String message,
String defaultValue)
|
boolean |
WebChromeClient.onJsPrompt(WebView view,
String url,
String message,
String defaultValue,
JsPromptResult result)
Tell the client to display a prompt dialog to the user. |
void |
CallbackProxy.onLoadResource(String url)
|
void |
WebViewClient.onLoadResource(WebView view,
String url)
Notify the host application that the WebView will load the resource specified by the given url. |
void |
CallbackProxy.onPageFinished(String url)
|
void |
WebViewClient.onPageFinished(WebView view,
String url)
Notify the host application that a page has finished loading. |
void |
CallbackProxy.onPageStarted(String url,
Bitmap favicon)
|
void |
WebViewClient.onPageStarted(WebView view,
String url,
Bitmap favicon)
Notify the host application that a page has started loading. |
void |
CallbackProxy.onReceivedError(int errorCode,
String description,
String failingUrl)
|
void |
WebViewClient.onReceivedError(WebView view,
int errorCode,
String description,
String failingUrl)
Report an error to an activity. |
void |
CallbackProxy.onReceivedHttpAuthRequest(HttpAuthHandler handler,
String hostName,
String realmName)
|
void |
WebViewClient.onReceivedHttpAuthRequest(WebView view,
HttpAuthHandler handler,
String host,
String realm)
Notify the host application to handle an authentication request. |
void |
WebIconDatabase.IconListener.onReceivedIcon(String url,
Bitmap icon)
Called when the icon has been retrieved from the database and the result is non-null. |
void |
CallbackProxy.onReceivedTitle(String title)
|
void |
WebChromeClient.onReceivedTitle(WebView view,
String title)
Notify the host application of a change in the document title. |
(package private) boolean |
WebView.onSavePassword(String schemePlusHost,
String username,
String password,
Message resumeMsg)
|
boolean |
CallbackProxy.onSavePassword(String schemePlusHost,
String username,
String password,
Message resumeMsg)
|
void |
WebIconDatabase.open(String path)
Open a the icon database and store the icons in the given path. |
static Long |
HttpDateTime.parse(String timeString)
|
(package private) void |
WebView.passToJavaScript(String currentText,
KeyEvent event)
|
(package private) boolean |
CookieManager.Cookie.pathMatch(String urlPath)
|
void |
HttpAuthHandler.proceed(String username,
String password)
Proceed with the authorization with the given credentials |
void |
WebIconDatabase.releaseIconForPageUrl(String url)
Release the icon for the given page url. |
(package private) void |
WebViewDatabase.removeCache(String url)
Remove a cache item. |
(package private) void |
WebView.replaceTextfieldText(int oldStart,
int oldEnd,
String replace,
int newStart,
int newEnd)
|
void |
WebIconDatabase.requestIconForPageUrl(String url,
WebIconDatabase.IconListener listener)
Request the Bitmap representing the icon for the given page url. |
(package private) void |
WebView.requestListBox(String[] array,
boolean[] enabledArray,
int selection)
|
(package private) void |
WebView.requestListBox(String[] array,
boolean[] enabledArray,
int[] selectedArray)
|
static void |
DataLoader.requestUrl(String url,
LoadListener loadListener)
Construct a DataLoader and instruct it to start loading. |
static void |
ContentLoader.requestUrl(String url,
LoadListener loadListener,
Context context)
Construct a ContentLoader and instruct it to start loading. |
static void |
FileLoader.requestUrl(String url,
LoadListener loadListener,
Context context,
boolean asset,
boolean allowFileAccess)
Construct a FileLoader and instruct it to start loading. |
boolean |
Network.requestURL(String method,
Map<String,String> headers,
byte[] postData,
LoadListener loader,
boolean isHighPriority)
Request a url from either the network or the file system. |
void |
PerfChecker.responseAlert(String what)
|
void |
WebIconDatabase.retainIconForPageUrl(String url)
Retain the icon for the given page url. |
static void |
CacheManager.saveCacheFile(String url,
CacheManager.CacheResult cacheRet)
Save the info of a cache file for a given url to the CacheMap so that it can be reused later |
void |
WebView.savePassword(String host,
String username,
String password)
Save the username and password for a particular host in the WebView's internal database. |
CacheManager.CacheResult |
UrlInterceptHandler.service(String url,
Map<String,String> headers)
Given an URL, returns the CacheResult which contains the surrogate response for the request, or null if the handler is not interested. |
void |
FrameLoader.setContentTypeForPost(String postContentType)
|
void |
CookieManager.setCookie(String url,
String value)
Set cookie for a given url. |
void |
CookieManager.setCookie(WebAddress uri,
String value)
Set cookie for a given uri. |
void |
WebSettings.setCursiveFontFamily(String font)
Set the cursive font family name. |
void |
WebSettings.setDefaultTextEncodingName(String encoding)
Set the default text encoding name to use when decoding html pages. |
void |
Plugin.setDescription(String description)
|
void |
CacheManager.CacheResult.setEncoding(String encoding)
|
void |
WebSettings.setFantasyFontFamily(String font)
Set the fantasy font family name. |
void |
Plugin.setFileName(String fileName)
|
void |
WebSettings.setFixedFontFamily(String font)
Set the fixed font family name. |
(package private) void |
WebViewDatabase.setFormData(String url,
HashMap<String,String> formdata)
Set form data for a site. |
void |
WebView.setHttpAuthUsernamePassword(String host,
String realm,
String username,
String password)
Set the HTTP authentication credentials for a given host and realm. |
(package private) void |
WebViewDatabase.setHttpAuthUsernamePassword(String host,
String realm,
String username,
String password)
Set HTTP authentication password. |
void |
Plugin.setName(String name)
|
void |
Plugin.setPath(String path)
|
void |
WebSettings.setPluginsPath(String pluginsPath)
Set a custom path to plugins used by the WebView. |
void |
Network.setProxyPassword(String proxyPassword)
Sets the proxy password. |
void |
Network.setProxyUsername(String proxyUsername)
Sets the proxy username. |
void |
FrameLoader.setReferrer(String ref)
|
(package private) void |
LoadListener.setRequestData(String method,
Map<String,String> headers,
byte[] postData,
boolean isHighPriority)
This is called when a request can be satisfied by the cache, however, the cache result could be a redirect. |
void |
WebSettings.setSansSerifFontFamily(String font)
Set the sans-serif font family name. |
void |
WebSettings.setSerifFontFamily(String font)
Set the serif font family name. |
void |
WebSettings.setStandardFontFamily(String font)
Set the standard font family name. |
(package private) void |
TextDialog.setTextAndKeepSelection(String text)
Set the text to the new string, but use the old selection, making sure to keep it within the new string. |
(package private) void |
LoadListener.setUrl(String url)
Sets the current URL associated with this load. |
void |
WebSettings.setUserAgentString(String ua)
Set the WebView's user-agent string. |
(package private) void |
WebViewDatabase.setUsernamePassword(String schemePlusHost,
String username,
String password)
Set password. |
boolean |
CallbackProxy.shouldOverrideUrlLoading(String url)
Called by the WebCore side |
boolean |
WebViewClient.shouldOverrideUrlLoading(WebView view,
String url)
Give the host application a chance to take over the control when a new url is about to be loaded in the current WebView. |
void |
LoadListener.status(int majorVersion,
int minorVersion,
int code,
String reasonPhrase)
Report the status of the response. |
String |
BrowserFrame.stringByEvaluatingJavaScriptFromString(String script)
stringByEvaluatingJavaScriptFromString will execute the JS passed in in the context of this browser frame. |
static String |
URLUtil.stripAnchor(String url)
Strips the url of the anchor. |
boolean |
CallbackProxy.uiOverrideUrlLoading(String overrideUrl)
Called by the UI side. |
(package private) void |
WebView.updateCachedTextfield(String updatedText)
Update our cache with updatedText. |
static WebSettings.LayoutAlgorithm |
WebSettings.LayoutAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WebSettings.TextSize |
WebSettings.TextSize.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WebSettings.RenderPriority |
WebSettings.RenderPriority.valueOf(String name)
Returns the enum constant of this type with the specified name. |
(package private) static boolean |
LoadListener.willLoadFromCache(String url)
|
| Method parameters in android.webkit with type arguments of type String | |
|---|---|
(package private) boolean |
LoadListener.checkCache(Map<String,String> headers)
Check the cache for the current URL, and load it if it is valid. |
(package private) boolean |
LoadListener.checkCache(Map<String,String> headers)
Check the cache for the current URL, and load it if it is valid. |
static CacheManager.CacheResult |
CacheManager.getCacheFile(String url,
Map<String,String> headers)
Given a url, returns the CacheResult if exists. |
static CacheManager.CacheResult |
CacheManager.getCacheFile(String url,
Map<String,String> headers)
Given a url, returns the CacheResult if exists. |
static CacheManager.CacheResult |
UrlInterceptRegistry.getSurrogate(String url,
Map<String,String> headers)
Given an url, returns the CacheResult of the first UrlInterceptHandler interested, or null if none are. |
static CacheManager.CacheResult |
UrlInterceptRegistry.getSurrogate(String url,
Map<String,String> headers)
Given an url, returns the CacheResult of the first UrlInterceptHandler interested, or null if none are. |
boolean |
Network.requestURL(String method,
Map<String,String> headers,
byte[] postData,
LoadListener loader,
boolean isHighPriority)
Request a url from either the network or the file system. |
boolean |
Network.requestURL(String method,
Map<String,String> headers,
byte[] postData,
LoadListener loader,
boolean isHighPriority)
Request a url from either the network or the file system. |
CacheManager.CacheResult |
UrlInterceptHandler.service(String url,
Map<String,String> headers)
Given an URL, returns the CacheResult which contains the surrogate response for the request, or null if the handler is not interested. |
CacheManager.CacheResult |
UrlInterceptHandler.service(String url,
Map<String,String> headers)
Given an URL, returns the CacheResult which contains the surrogate response for the request, or null if the handler is not interested. |
(package private) void |
WebViewDatabase.setFormData(String url,
HashMap<String,String> formdata)
Set form data for a site. |
(package private) void |
WebViewDatabase.setFormData(String url,
HashMap<String,String> formdata)
Set form data for a site. |
(package private) void |
LoadListener.setRequestData(String method,
Map<String,String> headers,
byte[] postData,
boolean isHighPriority)
This is called when a request can be satisfied by the cache, however, the cache result could be a redirect. |
(package private) void |
LoadListener.setRequestData(String method,
Map<String,String> headers,
byte[] postData,
boolean isHighPriority)
This is called when a request can be satisfied by the cache, however, the cache result could be a redirect. |
| Constructors in android.webkit with parameters of type String | |
|---|---|
ContentLoader(String rawUrl,
LoadListener loadListener,
Context context)
Construct a ContentLoader with the specified content URI |
|
CookieManager.Cookie(String defaultDomain,
String defaultPath)
|
|
DataLoader(String dataUrl,
LoadListener loadListener)
Constructor uses the dataURL as the source for an InputStream |
|
FileLoader(String url,
LoadListener loadListener,
Context context,
boolean asset,
boolean allowFileAccess)
Construct a FileLoader with the file URL specified as the content source. |
|
FrameLoader(LoadListener listener,
WebSettings settings,
String method,
boolean highPriority)
|
|
LoadListener(Context context,
BrowserFrame frame,
String url,
int nativeLoader,
boolean synchronous,
boolean isMainPageLoader)
|
|
Plugin(String name,
String path,
String fileName,
String description)
|
|
WebSyncManager(Context context,
String name)
|
|
| Constructor parameters in android.webkit with type arguments of type String | |
|---|---|
TextDialog.AutoCompleteAdapter(Context context,
ArrayList<String> entries)
|
|
| Uses of String in android.webkit.gears |
|---|
| Fields in android.webkit.gears declared as String | |
|---|---|
String |
AndroidRadioDataProvider.RadioData.carrierName
|
static String |
ApacheHttpRequestAndroid.KEY_CONTENT_LENGTH
Case-sensitive header keys |
static String |
HttpRequestAndroid.KEY_CONTENT_LENGTH
Case-sensitive header keys |
static String |
ApacheHttpRequestAndroid.KEY_CONTENT_TYPE
|
static String |
HttpRequestAndroid.KEY_CONTENT_TYPE
|
static String |
ApacheHttpRequestAndroid.KEY_ETAG
|
static String |
HttpRequestAndroid.KEY_ETAG
|
static String |
ApacheHttpRequestAndroid.KEY_EXPIRES
|
static String |
HttpRequestAndroid.KEY_EXPIRES
|
static String |
ApacheHttpRequestAndroid.KEY_LAST_MODIFIED
|
static String |
HttpRequestAndroid.KEY_LAST_MODIFIED
|
static String |
ApacheHttpRequestAndroid.KEY_LOCATION
|
static String |
HttpRequestAndroid.KEY_LOCATION
|
| Methods in android.webkit.gears that return String | |
|---|---|
String |
ApacheHttpRequestAndroid.getAllResponseHeaders()
Return all response headers, separated by CR-LF line endings, and ending with a trailing blank line. |
String |
HttpRequestAndroid.getAllResponseHeaders()
Return all response headers, separated by CR-LF line endings, and ending with a trailing blank line. |
String |
UrlInterceptHandlerGears.ServiceResponse.getContentType()
Return the "Content-Type" header possibly supplied by a previous setResponseHeader(). |
static String |
ApacheHttpRequestAndroid.getCookieForUrl(String url)
Get the cookie for the given URL. |
static String |
HttpRequestAndroid.getCookieForUrl(String url)
Get the cookie for the given URL. |
String |
UrlInterceptHandlerGears.ServiceResponse.getEncoding()
Returns the encoding for the response, supplied in setResultArray() or setResultFile(), or null if none. |
String |
UrlInterceptHandlerGears.ServiceResponse.getMimeType()
Returns the MIME type for the response, supplied in setResultArray() or setResultFile(). |
String |
UrlInterceptHandlerGears.ServiceRequest.getRequestHeader(String header)
Get the value associated with a request header key, if any. |
String |
ApacheHttpRequestAndroid.getRequestHeader(String name)
Returns the value associated with the given request header. |
String |
HttpRequestAndroid.getRequestHeader(String name)
Returns the value associated with the given request header. |
String |
ApacheHttpRequestAndroid.getResponseHeader(String name)
Returns the value associated with the given response header. |
String |
HttpRequestAndroid.getResponseHeader(String name)
Returns the value associated with the given response header. |
String |
ApacheHttpRequestAndroid.getResponseLine()
Get the complete response line of the HTTP request. |
String |
HttpRequestAndroid.getResponseLine()
Get the complete response line of the HTTP request. |
String |
UrlInterceptHandlerGears.ServiceResponse.getStatusLine()
Returns the full HTTP status line for the response, supplied in setResultArray() or setResultFile(). |
String |
UrlInterceptHandlerGears.ServiceRequest.getUrl()
Returns the URL being requested. |
String |
HtmlDialogAndroid.readHTML(String filePath)
Read the HTML content from the disk |
String |
NativeDialog.showDialog(Context context,
String file,
String arguments)
Opens a native dialog synchronously and waits for its completion. |
String |
HtmlDialogAndroid.showDialog(Context context,
String htmlFilePath,
String arguments)
Open an HTML dialog synchronously and waits for its completion. |
String |
IGearsDialogService.showDialog(String htmlContent,
String dialogArguments,
boolean inSettings)
|
| Methods in android.webkit.gears that return types with arguments of type String | |
|---|---|
Map<String,String[]> |
UrlInterceptHandlerGears.ServiceResponse.getResponseHeaders()
Get all response headers supplied in calls in setResponseHeader(). |
| Methods in android.webkit.gears with parameters of type String | |
|---|---|
static void |
NativeDialog.closeDialog(String res)
Static method that GearsNativeDialog calls to set the dialog's result |
boolean |
ApacheHttpRequestAndroid.createCacheResult(String url,
int responseCode,
String mimeType,
String encoding)
Create a CacheResult for this URL. |
boolean |
HttpRequestAndroid.createCacheResult(String url,
int responseCode,
String mimeType,
String encoding)
Create a CacheResult for this URL. |
static boolean |
VersionExtractor.extract(String xml,
long nativeObject)
Parses the input xml string and invokes the native setVersionAndUrl method. |
static String |
ApacheHttpRequestAndroid.getCookieForUrl(String url)
Get the cookie for the given URL. |
static String |
HttpRequestAndroid.getCookieForUrl(String url)
Get the cookie for the given URL. |
String |
UrlInterceptHandlerGears.ServiceRequest.getRequestHeader(String header)
Get the value associated with a request header key, if any. |
String |
ApacheHttpRequestAndroid.getRequestHeader(String name)
Returns the value associated with the given request header. |
String |
HttpRequestAndroid.getRequestHeader(String name)
Returns the value associated with the given request header. |
String |
ApacheHttpRequestAndroid.getResponseHeader(String name)
Returns the value associated with the given response header. |
String |
HttpRequestAndroid.getResponseHeader(String name)
Returns the value associated with the given response header. |
UrlInterceptHandlerGears.ServiceResponse |
UrlInterceptHandlerGears.getServiceResponse(String url,
Map<String,String[]> requestHeaders)
Given an URL, returns a CacheResult and headers which contain the response for the request. |
static boolean |
ZipInflater.inflate(String filename,
String path)
Unzips the archive with the given name. |
void |
AndroidGpsLocationProvider.onProviderDisabled(String provider)
Called when the provider is disabled. |
void |
AndroidGpsLocationProvider.onProviderEnabled(String provider)
Called when the provider is enabled. |
void |
AndroidGpsLocationProvider.onStatusChanged(String provider,
int status,
Bundle extras)
Called when the provider status changes. |
boolean |
ApacheHttpRequestAndroid.open(String method,
String url)
Analagous to the native-side HttpRequest::open() function. |
boolean |
HttpRequestAndroid.open(String method,
String url)
Analagous to the native-side HttpRequest::open() function. |
String |
HtmlDialogAndroid.readHTML(String filePath)
Read the HTML content from the disk |
CacheManager.CacheResult |
UrlInterceptHandlerGears.service(String url,
Map<String,String> requestHeaders)
Given an URL, returns a CacheResult which contains the response for the request. |
static void |
ApacheHttpRequestAndroid.setCookieForUrl(String url,
String cookie)
Set the cookie for the given URL. |
static void |
HttpRequestAndroid.setCookieForUrl(String url,
String cookie)
Set the cookie for the given URL. |
void |
ApacheHttpRequestAndroid.setRequestHeader(String name,
String value)
Set a header to send with the HTTP request. |
void |
HttpRequestAndroid.setRequestHeader(String name,
String value)
Set a header to send with the HTTP request. |
void |
UrlInterceptHandlerGears.ServiceResponse.setResponseHeader(String key,
String value)
Set a response header, adding its settings to the header members. |
(package private) void |
UrlInterceptHandlerGears.ServiceResponse.setResultArray(int statusCode,
String statusLine,
String mimeType,
String encoding,
byte[] body)
Initialize members using an in-memory array to return the body. |
(package private) boolean |
UrlInterceptHandlerGears.ServiceResponse.setResultFile(int statusCode,
String statusLine,
String mimeType,
String encoding,
String path)
Initialize members using a file on disk to return the body. |
static void |
DesktopAndroid.setShortcut(WebView webview,
String title,
String url,
String imagePath)
Create a shortcut for a webpage. |
void |
NativeDialog.showAsyncDialog(Context context,
String type,
String arguments)
Opens a native dialog asynchronously The dialog is an activity (GearsNativeDialog) provided by the Browser. |
String |
NativeDialog.showDialog(Context context,
String file,
String arguments)
Opens a native dialog synchronously and waits for its completion. |
String |
HtmlDialogAndroid.showDialog(Context context,
String htmlFilePath,
String arguments)
Open an HTML dialog synchronously and waits for its completion. |
String |
IGearsDialogService.showDialog(String htmlContent,
String dialogArguments,
boolean inSettings)
|
boolean |
ApacheHttpRequestAndroid.useCacheResult(String url)
Perform a request using the cache result if present. |
boolean |
HttpRequestAndroid.useCacheResult(String url)
Perform a request using the cache result if present. |
boolean |
ApacheHttpRequestAndroid.useLocalServerResult(String url)
Perform a request using LocalServer if possible. |
boolean |
HttpRequestAndroid.useLocalServerResult(String url)
Perform a request using LocalServer if possible. |
| Method parameters in android.webkit.gears with type arguments of type String | |
|---|---|
UrlInterceptHandlerGears.ServiceResponse |
UrlInterceptHandlerGears.getServiceResponse(String url,
Map<String,String[]> requestHeaders)
Given an URL, returns a CacheResult and headers which contain the response for the request. |
CacheManager.CacheResult |
UrlInterceptHandlerGears.service(String url,
Map<String,String> requestHeaders)
Given an URL, returns a CacheResult which contains the response for the request. |
CacheManager.CacheResult |
UrlInterceptHandlerGears.service(String url,
Map<String,String> requestHeaders)
Given an URL, returns a CacheResult which contains the response for the request. |
| Constructors in android.webkit.gears with parameters of type String | |
|---|---|
UrlInterceptHandlerGears.ServiceRequest(String url,
Map<String,String[]> requestHeaders)
Initialize members on construction. |
|
| Constructor parameters in android.webkit.gears with type arguments of type String | |
|---|---|
UrlInterceptHandlerGears.ServiceRequest(String url,
Map<String,String[]> requestHeaders)
Initialize members on construction. |
|
| Uses of String in android.widget |
|---|
| Fields in android.widget declared as String | |
|---|---|
(package private) String |
AbsListView.SavedState.filter
|
(package private) String |
DigitalClock.mFormat
|
(package private) String |
TextView.InputContentType.privateContentType
|
(package private) static String |
ScrollView.TAG
|
(package private) static String |
AutoCompleteTextView.TAG
|
(package private) static String |
Toast.TAG
|
| Methods in android.widget that return String | |
|---|---|
String |
CursorTreeAdapter.convertToString(Cursor cursor)
|
String |
AbsoluteLayout.LayoutParams.debug(String output)
|
String |
RelativeLayout.LayoutParams.debug(String output)
|
String |
LinearLayout.LayoutParams.debug(String output)
|
String |
TabHost.getCurrentTabTag()
|
String |
Chronometer.getFormat()
Returns the current format string as set through Chronometer.setFormat(java.lang.String). |
String |
RemoteViews.getPackage()
|
String |
TextView.getPrivateContentType()
Get the private type of the content. |
(package private) String |
TabHost.TabSpec.getTag()
|
String |
CompoundButton.SavedState.toString()
|
String |
TextView.SavedState.toString()
|
String |
AbsListView.SavedState.toString()
|
String |
AbsSpinner.SavedState.toString()
|
String |
ListView.SavedState.toString()
|
String |
ScrollBarDrawable.toString()
|
| Methods in android.widget with parameters of type String | |
|---|---|
void |
DialerFilter.append(String text)
|
void |
SimpleCursorAdapter.changeCursorAndColumns(Cursor c,
String[] from,
int[] to)
Change the cursor and change the column-to-view mappings at the same time. |
protected int |
AlphabetIndexer.compare(String word,
String letter)
Default implementation compares the first character of word with letter. |
View |
TabHost.TabContentFactory.createTabContent(String tag)
Callback to make the tab contents |
String |
AbsoluteLayout.LayoutParams.debug(String output)
|
String |
RelativeLayout.LayoutParams.debug(String output)
|
String |
LinearLayout.LayoutParams.debug(String output)
|
TabHost.TabSpec |
TabHost.newTabSpec(String tag)
Get a new TabHost.TabSpec associated with this tab host. |
boolean |
TextView.onPrivateIMECommand(String action,
Bundle data)
Called by the framework in response to a private command from the current method, provided by it calling InputConnection.performPrivateCommand(). |
void |
TabHost.OnTabChangeListener.onTabChanged(String tabId)
|
void |
RemoteViews.setChronometer(int viewId,
long base,
String format,
boolean running)
Equivalent to calling Chronometer.setBase,
Chronometer.setFormat,
and Chronometer.start() or
Chronometer.stop(). |
void |
TabHost.setCurrentTabByTag(String tag)
|
void |
AbsListView.setFilterText(String filterText)
Sets the initial value for the text filter. |
void |
Chronometer.setFormat(String format)
Sets the format string used for display. |
void |
TextView.setPrivateContentType(String type)
Set the private content type of the text, which is the TextBoxAttribute.privateContentType
field that will be filled in when creating an input connection. |
void |
VideoView.setVideoPath(String path)
|
void |
SimpleCursorAdapter.setViewImage(ImageView v,
String value)
Called by bindView() to set the image for an ImageView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an ImageView. |
void |
SimpleAdapter.setViewImage(ImageView v,
String value)
Called by bindView() to set the image for an ImageView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an ImageView. |
protected void |
SimpleCursorTreeAdapter.setViewImage(ImageView v,
String value)
Called by bindView() to set the image for an ImageView. |
void |
SimpleCursorAdapter.setViewText(TextView v,
String text)
Called by bindView() to set the text for a TextView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an TextView. |
void |
SimpleAdapter.setViewText(TextView v,
String text)
Called by bindView() to set the text for a TextView but only if there is no existing ViewBinder or if the existing ViewBinder cannot handle binding to an TextView. |
boolean |
SimpleAdapter.ViewBinder.setViewValue(View view,
Object data,
String textRepresentation)
Binds the specified data to the specified view. |
static ImageView.ScaleType |
ImageView.ScaleType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TextView.BufferType |
TextView.BufferType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in android.widget with parameters of type String | |
|---|---|
AppSecurityPermissions(Context context,
String packageName)
|
|
RemoteViews.ActionException(String message)
|
|
RemoteViews(String packageName,
int layoutId)
Create a new RemoteViews object that will display the views contained in the specified layout file. |
|
SimpleAdapter(Context context,
List<? extends Map<String,?>> data,
int resource,
String[] from,
int[] to)
Constructor |
|
SimpleCursorAdapter(Context context,
int layout,
Cursor c,
String[] from,
int[] to)
Constructor. |
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
Constructor. |
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
Constructor. |
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor. |
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int collapsedGroupLayout,
int expandedGroupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor. |
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int groupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor. |
|
SimpleCursorTreeAdapter(Context context,
Cursor cursor,
int groupLayout,
String[] groupFrom,
int[] groupTo,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor. |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int groupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int groupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
| Constructor parameters in android.widget with type arguments of type String | |
|---|---|
SimpleAdapter(Context context,
List<? extends Map<String,?>> data,
int resource,
String[] from,
int[] to)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
int lastChildLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int expandedGroupLayout,
int collapsedGroupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int groupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
SimpleExpandableListAdapter(Context context,
List<? extends Map<String,?>> groupData,
int groupLayout,
String[] groupFrom,
int[] groupTo,
List<? extends List<? extends Map<String,?>>> childData,
int childLayout,
String[] childFrom,
int[] childTo)
Constructor |
|
| Uses of String in com.android.internal.app |
|---|
| Methods in com.android.internal.app with parameters of type String | |
|---|---|
void |
IBatteryStats.noteStartWakelock(int uid,
String name,
int type)
|
void |
IBatteryStats.noteStopWakelock(int uid,
String name,
int type)
|
| Uses of String in com.android.internal.gadget |
|---|
| Methods in com.android.internal.gadget with parameters of type String | |
|---|---|
int |
IGadgetService.allocateGadgetId(String hostPackage)
|
| Uses of String in com.android.internal.telephony |
|---|
| Methods in com.android.internal.telephony that return String | |
|---|---|
String |
IPhoneSubInfo.getDeviceId()
Retrieves the unique device ID, e.g., IMEI for GSM phones. |
String |
IPhoneSubInfo.getDeviceSvn()
Retrieves the software version number for the device, e.g., IMEI/SV for GSM phones. |
String |
IPhoneSubInfo.getLine1AlphaTag()
Retrieves the alpha identifier for line 1. |
String |
IPhoneSubInfo.getLine1Number()
Retrieves the phone number string for line 1. |
String |
IPhoneSubInfo.getSimSerialNumber()
Retrieves the serial number of the SIM, if applicable. |
String |
IPhoneSubInfo.getSubscriberId()
Retrieves the unique sbuscriber ID, e.g., IMSI for GSM phones. |
String |
IPhoneSubInfo.getVoiceMailAlphaTag()
Retrieves the alpha identifier associated with the voice mail number. |
String |
IPhoneSubInfo.getVoiceMailNumber()
Retrieves the voice mail number. |
| Methods in com.android.internal.telephony with parameters of type String | |
|---|---|
void |
ITelephony.call(String number)
Place a call to the numer. |
void |
ITelephony.dial(String number)
Dial a number. |
int |
ITelephony.disableApnType(String type)
Disable a specific APN type. |
int |
ITelephony.enableApnType(String type)
Enable a specific APN type. |
boolean |
ITelephony.handlePinMmi(String dialString)
Handles PIN MMI commands (PIN/PIN2/PUK/PUK2), which are initiated without SEND (so dial is not appropriate). |
void |
ITelephonyRegistry.listen(String pkg,
IPhoneStateListener callback,
int events,
boolean notifyNow)
|
void |
ITelephonyRegistry.notifyCallState(int state,
String incomingNumber)
|
void |
ITelephonyRegistry.notifyDataConnection(int state,
boolean isDataConnectivityPossible,
String reason,
String apn,
String interfaceName)
|
void |
ITelephonyRegistry.notifyDataConnectionFailed(String reason)
|
void |
IPhoneStateListener.onCallStateChanged(int state,
String incomingNumber)
|
boolean |
ITelephony.supplyPin(String pin)
Supply a pin to unlock the SIM. |
| Uses of String in com.android.internal.telephony.gsm |
|---|
| Methods in com.android.internal.telephony.gsm with parameters of type String | |
|---|---|
void |
ISms.sendMultipartText(String destinationAddress,
String scAddress,
List<String> parts,
List<PendingIntent> sentIntents,
List<PendingIntent> deliveryIntents)
Send a multi-part text based SMS. |
boolean |
ISimPhoneBook.updateAdnRecordsInEfByIndex(int efid,
String newTag,
String newPhoneNumber,
int index,
String pin2)
Update an ADN-like EF record by record index This is useful for iteration the whole ADN file, such as write the whole phone book or erase/format the whole phonebook |
boolean |
ISimPhoneBook.updateAdnRecordsInEfBySearch(int efid,
String oldTag,
String oldPhoneNumber,
String newTag,
String newPhoneNumber,
String pin2)
Replace oldAdn with newAdn in ADN-like record in EF getAdnRecordsInEf must be called at least once before this function, otherwise an error will be returned |
| Method parameters in com.android.internal.telephony.gsm with type arguments of type String | |
|---|---|
void |
ISms.sendMultipartText(String destinationAddress,
String scAddress,
List<String> parts,
List<PendingIntent> sentIntents,
List<PendingIntent> deliveryIntents)
Send a multi-part text based SMS. |
| Uses of String in com.android.internal.view |
|---|
| Methods in com.android.internal.view with parameters of type String | |
|---|---|
void |
IInputMethodSession.appPrivateCommand(String action,
Bundle data)
|
void |
IInputContext.performPrivateCommand(String action,
Bundle data)
|
void |
IInputMethodManager.setInputMethod(IBinder token,
String id)
|
boolean |
IInputMethodManager.setInputMethodEnabled(String id,
boolean enabled)
|
void |
IInputContext.showStatusIcon(String packageName,
int resId)
|
void |
IInputMethodManager.updateStatusIcon(int iconId,
String iconPackage)
|
| Uses of String in dalvik.annotation |
|---|
| Methods in dalvik.annotation with parameters of type String | |
|---|---|
static TestLevel |
TestLevel.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static TestStatus |
TestStatus.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Uses of String in dalvik.system |
|---|
| Fields in dalvik.system declared as String | |
|---|---|
static String |
VMDebug.DEFAULT_METHOD_TRACE_FILE_NAME
Specifies the default method trace data file name. |
| Methods in dalvik.system that return String | |
|---|---|
protected String |
PathClassLoader.findLibrary(String libname)
Finds a native library. |
protected String |
DexClassLoader.findLibrary(String libname)
Finds a native library. |
protected String |
TouchDexLoader.findLibrary(String libname)
Find a native library. |
String |
DexFile.getName()
Gets the name of the (already opened) DEX file. |
| Methods in dalvik.system that return types with arguments of type String | |
|---|---|
Enumeration<String> |
DexFile.entries()
Enumerate the names of the classes in this DEX file. |
| Methods in dalvik.system with parameters of type String | |
|---|---|
protected Class<?> |
PathClassLoader.findClass(String name)
Finds a class. |
protected Class<?> |
DexClassLoader.findClass(String name)
Finds a class. |
protected Class<?> |
TouchDexLoader.findClass(String name)
Find the class with the specified name. |
protected String |
PathClassLoader.findLibrary(String libname)
Finds a native library. |
protected String |
DexClassLoader.findLibrary(String libname)
Finds a native library. |
protected String |
TouchDexLoader.findLibrary(String libname)
Find a native library. |
protected URL |
PathClassLoader.findResource(String name)
Finds a resource. |
protected URL |
DexClassLoader.findResource(String name)
Finds a resource. |
protected URL |
TouchDexLoader.findResource(String name)
|
protected Enumeration<URL> |
PathClassLoader.findResources(String resName)
Finds an enumeration of URLs for the resource with the specified name. |
protected Package |
PathClassLoader.getPackage(String name)
Returns package information for the given package. |
protected Package |
DexClassLoader.getPackage(String name)
Returns package information for the given package. |
static boolean |
DexFile.isDexOptNeeded(String fileName)
Returns true if the VM believes that the apk/jar file is out of date and should be passed through "dexopt" again. |
Class |
DexFile.loadClass(String name,
ClassLoader loader)
Loads a class. |
static DexFile |
DexFile.loadDex(String sourcePathName,
String outputPathName,
int flags)
Open a DEX file, specifying the file in which the optimized DEX data should be written. |
static void |
TouchDex.main(String[] args)
The entry point for the child process. |
static void |
TemporaryDirectory.setUpDirectory(String baseDir)
Convenience method which is equivalent to setupDirectory(new File(baseDir)). |
static int |
TouchDex.start(String dexFiles)
Forks a process, makes sure the DEX files are prepared, and returns when everything is finished. |
static void |
VMDebug.startMethodTracing(String traceFileName,
int bufferSize,
int flags)
Start method tracing, specifying a file name as well as a default buffer size. |
| Constructors in dalvik.system with parameters of type String | |
|---|---|
AllocationLimitError(String detailMessage)
Creates a new exception instance and initializes it with a given message. |
|
DexClassLoader(String dexPath,
String dexOutputDir,
String libPath,
ClassLoader parent)
Creates a DexClassLoader that finds interpreted and native
code. |
|
DexFile(String fileName)
Opens a DEX file from a given filename. |
|
PathClassLoader(String path,
ClassLoader parent)
Creates a PathClassLoader that operates on a given list of files
and directories. |
|
PathClassLoader(String path,
String libPath,
ClassLoader parent)
Creates a PathClassLoader that operates on two given lists of
files and directories. |
|
PotentialDeadlockError(String detailMessage)
Creates a new exception instance and initializes it with a given message. |
|
StaleDexCacheError(String detailMessage)
Creates a new exception instance and initializes it with a given message. |
|
TouchDexLoader(String path,
ClassLoader parent)
Create a ClassLoader that finds files in the specified path. |
|
| Uses of String in java.awt.font |
|---|
| Methods in java.awt.font that return String | |
|---|---|
String |
NumericShaper.toString()
Returns a string representation of this NumericShaper. |
| Constructors in java.awt.font with parameters of type String | |
|---|---|
TextAttribute(String name)
Instantiates a new TextAttribute with the specified name. |
|
| Uses of String in java.beans |
|---|
| Fields in java.beans declared as String | |
|---|---|
(package private) String |
PropertyChangeEvent.propertyName
|
(package private) String |
PropertyChangeListenerProxy.propertyName
|
| Methods in java.beans that return String | |
|---|---|
String |
PropertyChangeEvent.getPropertyName()
Returns the name of the property that has changed. |
String |
PropertyChangeListenerProxy.getPropertyName()
Returns the name of the property associated with this listener proxy. |
| Methods in java.beans with parameters of type String | |
|---|---|
void |
PropertyChangeSupport.addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Adds a listener to a specific property. |
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
boolean oldValue,
boolean newValue)
Fires a property change of a boolean property with the given name. |
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
int oldValue,
int newValue)
Fires a property change of an integer property with the given name. |
void |
PropertyChangeSupport.fireIndexedPropertyChange(String propertyName,
int index,
Object oldValue,
Object newValue)
Fires an IndexedPropertyChangeEvent with the given name, old
value, new value and index. |
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
boolean oldValue,
boolean newValue)
Fires a property change of a boolean property with the given name. |
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
int oldValue,
int newValue)
Fires a property change of an integer property with the given name. |
void |
PropertyChangeSupport.firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
Fires a PropertyChangeEvent with the given name, old value and
new value. |
PropertyChangeListener[] |
PropertyChangeSupport.getPropertyChangeListeners(String propertyName)
Returns an array of listeners that registered to the property with the given name. |
boolean |
PropertyChangeSupport.hasListeners(String propertyName)
Returns true if there are listeners registered to the property with the given name. |
void |
PropertyChangeSupport.removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
Removes the listener from the specific property. |
| Constructors in java.beans with parameters of type String | |
|---|---|
IndexedPropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue,
int index)
Creates a new property changed event with an indication of the property index. |
|
PropertyChangeEvent(Object source,
String propertyName,
Object oldValue,
Object newValue)
The constructor used to create a new PropertyChangeEvent. |
|
PropertyChangeListenerProxy(String propertyName,
PropertyChangeListener listener)
Creates a new listener proxy that associates a listener with a property name. |
|
| Uses of String in java.io |
|---|
| Fields in java.io declared as String | |
|---|---|
protected String |
StringBufferInputStream.buffer
Deprecated. The source string containing the data to read. |
String |
InvalidClassException.classname
The fully qualified name of the class that caused the problem. |
static String |
File.pathSeparator
The system dependent path separator string. |
static String |
File.separator
The system dependent file separator string. |
String |
StreamTokenizer.sval
Contains a string if the current token is a word ( ttype ==
TT_WORD). |
(package private) static String |
Writer.TOKEN_NULL
|
| Fields in java.io with type parameters of type String | |
|---|---|
(package private) static Class<String> |
ObjectStreamClass.STRINGCLASS
|
| Methods in java.io that return String | |
|---|---|
(package private) String |
DataInputStream.decodeUTF(int utfSize)
|
String |
File.getAbsolutePath()
Returns the absolute path of this file. |
String |
FilePermission.getActions()
Returns the actions associated with this file permission. |
String |
File.getCanonicalPath()
Returns the absolute path of this file with all references resolved. |
(package private) static String |
ObjectStreamClass.getConstructorSignature(Constructor<?> c)
Return a String representing the signature for a Constructor c. |
String |
OutputStreamWriter.getEncoding()
Gets the name of the encoding that is used to convert characters to bytes. |
String |
InputStreamReader.getEncoding()
Returns the name of the encoding used to convert bytes into characters. |
static String |
InputStreamReader.HistoricalNamesUtil.getHistoricalName(String name)
|
String |
InvalidClassException.getMessage()
Returns the detail message which was provided when the exception was created. |
String |
WriteAbortedException.getMessage()
Gets the extra information message which was provided when this exception was created. |
(package private) static String |
ObjectStreamClass.getMethodSignature(Method m)
Return a String representing the signature for a method m. |
String |
ObjectStreamField.getName()
Gets the name of this field. |
String |
ObjectStreamClass.getName()
Returns the name of the class represented by this descriptor. |
String |
File.getName()
Returns the name of the file or directory represented by this file. |
String |
File.getParent()
Returns the pathname of the parent of this file. |
String |
File.getPath()
Returns the path of this file. |
String |
ObjectStreamField.getTypeString()
Gets the type signature used by the VM to represent the type of this field. |
String[] |
File.list()
Returns an array of strings with the file names in the directory represented by this file. |
String[] |
File.list(FilenameFilter filter)
Gets a list of the files in the directory represented by this file. |
String |
ObjectInputStream.readLine()
Deprecated. Use BufferedReader |
String |
DataInput.readLine()
Returns a string containing the next line of text available from this stream. |
String |
DataInputStream.readLine()
Deprecated. Use BufferedReader |
String |
LineNumberReader.readLine()
Returns the next line of text available from this reader. |
String |
BufferedReader.readLine()
Returns the next line of text available from this reader. |
String |
RandomAccessFile.readLine()
Reads a line of text form the current position in this file. |
String |
ObjectInputStream.readUTF()
Reads a string encoded in modified UTF-8 from the
source stream. |
String |
DataInput.readUTF()
Reads a string encoded with modified UTF-8. |
String |
DataInputStream.readUTF()
Reads an string encoded in modified UTF-8 from this
stream. |
String |
RandomAccessFile.readUTF()
Reads a string that is encoded in modified UTF-8 from
this file. |
static String |
DataInputStream.readUTF(DataInput in)
Reads a string encoded in modified UTF-8 from the
DataInput stream in. |
String |
CharArrayWriter.toString()
Returns the contents of this CharArrayWriter as a string. |
String |
ObjectStreamField.toString()
Returns a string containing a concise, human-readable description of this field descriptor. |
String |
StringWriter.toString()
Gets a copy of the contents of this writer as a string. |
String |
ObjectStreamClass.toString()
Returns a string containing a concise, human-readable description of this descriptor. |
String |
ByteArrayOutputStream.toString()
Returns the contents of this ByteArrayOutputStream as a string. |
String |
File.toString()
Returns a string containing a concise, human-readable description of this file. |
String |
StreamTokenizer.toString()
Returns the state of this tokenizer in a readable format. |
String |
ByteArrayOutputStream.toString(int hibyte)
Deprecated. Use ByteArrayOutputStream.toString(). |
String |
ByteArrayOutputStream.toString(String enc)
Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared in enc. |
| Methods in java.io with parameters of type String | |
|---|---|
boolean |
FilenameFilter.accept(File dir,
String filename)
Indicates if a specific filename matches this filter. |
void |
DeleteOnExit.addFile(String filename)
Schedules a file for deletion. |
(package private) long |
DataOutputStream.countUTFBytes(String str)
|
static File |
File.createTempFile(String prefix,
String suffix)
Creates an empty temporary file using the given prefix and suffix as part of the file name. |
static File |
File.createTempFile(String prefix,
String suffix,
File directory)
Creates an empty temporary file in the given directory using the given prefix and suffix as part of the file name. |
boolean |
EmulatedFieldsForLoading.defaulted(String name)
Return a boolean indicating if the field named name has
been assigned a value explicitly (false) or if it still holds a default
value for the type (true) because it hasn't been assigned to yet. |
abstract boolean |
ObjectInputStream.GetField.defaulted(String name)
Indicates if the field identified by name is defaulted. |
boolean |
EmulatedFields.defaulted(String name)
Return a boolean indicating if the field named name has
been assigned a value explicitly (false) or if it still holds a default
value for the type (true) because it hasn't been assigned to yet. |
PrintWriter |
PrintWriter.format(Locale l,
String format,
Object... args)
Writes a string formatted by an intermediate Formatter to the
target using the specified locale, format string and arguments. |
PrintStream |
PrintStream.format(Locale l,
String format,
Object... args)
Writes a string formatted by an intermediate Formatter to this
stream using the specified locale, format string and arguments. |
PrintWriter |
PrintWriter.format(String format,
Object... args)
Writes a string formatted by an intermediate Formatter to the
target using the specified format string and arguments. |
PrintStream |
PrintStream.format(String format,
Object... args)
Writes a string formatted by an intermediate Formatter to the
target stream using the specified format string and arguments. |
boolean |
EmulatedFieldsForLoading.get(String name,
boolean defaultValue)
Find and return the boolean value of a given field named name in the receiver. |
abstract boolean |
ObjectInputStream.GetField.get(String name,
boolean defaultValue)
Gets the value of the boolean field identified by name from
the persistent field. |
boolean |
EmulatedFields.get(String name,
boolean defaultValue)
Find and return the boolean value of a given field named name in the receiver. |
byte |
EmulatedFieldsForLoading.get(String name,
byte defaultValue)
Find and return the byte value of a given field named name
in the receiver. |
abstract byte |
ObjectInputStream.GetField.get(String name,
byte defaultValue)
Gets the value of the byte field identified by name from the
persistent field. |
byte |
EmulatedFields.get(String name,
byte defaultValue)
Find and return the byte value of a given field named name
in the receiver. |
char |
EmulatedFieldsForLoading.get(String name,
char defaultValue)
Find and return the char value of a given field named name
in the receiver. |
abstract char |
ObjectInputStream.GetField.get(String name,
char defaultValue)
Gets the value of the character field identified by name from
the persistent field. |
char |
EmulatedFields.get(String name,
char defaultValue)
Find and return the char value of a given field named name
in the receiver. |
double |
EmulatedFieldsForLoading.get(String name,
double defaultValue)
Find and return the double value of a given field named name
in the receiver. |
abstract double |
ObjectInputStream.GetField.get(String name,
double defaultValue)
Gets the value of the double field identified by name from
the persistent field. |
double |
EmulatedFields.get(String name,
double defaultValue)
Find and return the double value of a given field named name
in the receiver. |
float |
EmulatedFieldsForLoading.get(String name,
float defaultValue)
Find and return the float value of a given field named name
in the receiver. |
abstract float |
ObjectInputStream.GetField.get(String name,
float defaultValue)
Gets the value of the float field identified by name from the
persistent field. |
float |
EmulatedFields.get(String name,
float defaultValue)
Find and return the float value of a given field named name
in the receiver. |
int |
EmulatedFieldsForLoading.get(String name,
int defaultValue)
Find and return the int value of a given field named name
in the receiver. |
abstract int |
ObjectInputStream.GetField.get(String name,
int defaultValue)
Gets the value of the integer field identified by name from
the persistent field. |
int |
EmulatedFields.get(String name,
int defaultValue)
Find and return the int value of a given field named name
in the receiver. |
long |
EmulatedFieldsForLoading.get(String name,
long defaultValue)
Find and return the long value of a given field named name
in the receiver. |
abstract long |
ObjectInputStream.GetField.get(String name,
long defaultValue)
Gets the value of the long field identified by name from the
persistent field. |
long |
EmulatedFields.get(String name,
long defaultValue)
Find and return the long value of a given field named name
in the receiver. |
Object |
EmulatedFieldsForLoading.get(String name,
Object defaultValue)
Find and return the Object value of a given field named name
in the receiver. |
abstract Object |
ObjectInputStream.GetField.get(String name,
Object defaultValue)
Gets the value of the object field identified by name from
the persistent field. |
Object |
EmulatedFields.get(String name,
Object defaultValue)
Find and return the Object value of a given field named name
in the receiver. |
short |
EmulatedFieldsForLoading.get(String name,
short defaultValue)
Find and return the short value of a given field named name
in the receiver. |
abstract short |
ObjectInputStream.GetField.get(String name,
short defaultValue)
Gets the value of the short field identified by name from the
persistent field. |
short |
EmulatedFields.get(String name,
short defaultValue)
Find and return the short value of a given field named name
in the receiver. |
ObjectStreamField |
ObjectStreamClass.getField(String name)
Gets a field descriptor of the class represented by this class descriptor. |
static String |
InputStreamReader.HistoricalNamesUtil.getHistoricalName(String name)
|
void |
PrintWriter.print(String str)
Prints a string to the target. |
void |
PrintStream.print(String str)
Prints a string to the target stream. |
PrintWriter |
PrintWriter.printf(Locale l,
String format,
Object... args)
Prints a formatted string. |
PrintStream |
PrintStream.printf(Locale l,
String format,
Object... args)
Prints a formatted string. |
PrintWriter |
PrintWriter.printf(String format,
Object... args)
Prints a formatted string. |
PrintStream |
PrintStream.printf(String format,
Object... args)
Prints a formatted string. |
void |
PrintWriter.println(String str)
Prints a string followed by the system property "line.separator"
to the target. |
void |
PrintStream.println(String str)
Prints a string followed by the system property "line.separator"
to the target stream. |
abstract void |
ObjectOutputStream.PutField.put(String name,
boolean value)
Puts the value of the boolean field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
boolean value)
Find and set the boolean value of a given field named name
in the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
boolean value)
Find and set the boolean value of a given field named name
in the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
byte value)
Puts the value of the byte field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
byte value)
Find and set the byte value of a given field named name in
the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
byte value)
Find and set the byte value of a given field named name in
the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
char value)
Puts the value of the character field identified by name to
the persistent field. |
void |
EmulatedFields.put(String name,
char value)
Find and set the char value of a given field named name in
the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
char value)
Find and set the char value of a given field named name in
the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
double value)
Puts the value of the double field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
double value)
Find and set the double value of a given field named name
in the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
double value)
Find and set the double value of a given field named name
in the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
float value)
Puts the value of the float field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
float value)
Find and set the float value of a given field named name
in the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
float value)
Find and set the float value of a given field named name
in the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
int value)
Puts the value of the integer field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
int value)
Find and set the int value of a given field named name in
the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
int value)
Find and set the int value of a given field named name in
the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
long value)
Puts the value of the long field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
long value)
Find and set the long value of a given field named name in
the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
long value)
Find and set the long value of a given field named name in
the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
Object value)
Puts the value of the Object field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
Object value)
Find and set the Object value of a given field named name
in the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
Object value)
Find and set the Object value of a given field named name
in the receiver. |
abstract void |
ObjectOutputStream.PutField.put(String name,
short value)
Puts the value of the short field identified by name to the
persistent field. |
void |
EmulatedFields.put(String name,
short value)
Find and set the short value of a given field named name
in the receiver. |
void |
EmulatedFieldsForDumping.put(String name,
short value)
Find and set the short value of a given field named name
in the receiver. |
protected Class<?> |
ObjectInputStream.resolveProxyClass(String[] interfaceNames)
Creates the proxy class that implements the interfaces specified in interfaceNames. |
(package private) void |
ObjectStreamClass.setName(String newName)
Set the name of the class represented by the receiver |
String |
ByteArrayOutputStream.toString(String enc)
Returns the contents of this ByteArrayOutputStream as a string converted according to the encoding declared in enc. |
void |
PrintWriter.write(String str)
Writes the characters from the specified string to the target. |
void |
StringWriter.write(String str)
Writes the characters from the specified string to this writer's StringBuffer. |
void |
Writer.write(String str)
Writes the characters from the specified string to the target. |
void |
BufferedWriter.write(String str,
int offset,
int count)
Writes count characters starting at offset in str
to this writer. |
void |
CharArrayWriter.write(String str,
int offset,
int len)
Writes count number of characters starting at offset from
the string str to this CharArrayWriter. |
void |
PrintWriter.write(String str,
int offset,
int count)
Writes count characters from str starting at offset to the target. |
void |
OutputStreamWriter.write(String str,
int offset,
int count)
Writes count characters starting at offset in str
to this writer. |
void |
StringWriter.write(String str,
int offset,
int count)
Writes count characters from str starting at offset to this writer's StringBuffer. |
void |
FilterWriter.write(String str,
int offset,
int count)
Writes count characters from the string str starting at
position index to this writer. |
void |
Writer.write(String str,
int offset,
int count)
Writes count characters from str starting at offset to the target. |
void |
DataOutput.writeBytes(String str)
Writes the low order 8-bit bytes from the specified string. |
void |
ObjectOutputStream.writeBytes(String value)
Writes the string value as a sequence of bytes to the target
stream. |
void |
DataOutputStream.writeBytes(String str)
Writes the low order bytes from a string to the target stream. |
void |
RandomAccessFile.writeBytes(String str)
Writes the low order 8-bit bytes from a string to this file, starting at the current file pointer. |
void |
DataOutput.writeChars(String str)
Writes the 16-bit characters contained in str. |
void |
ObjectOutputStream.writeChars(String value)
Writes the string value as a sequence of characters to the target
stream. |
void |
DataOutputStream.writeChars(String str)
Writes the 16-bit characters contained in str to the target
stream. |
void |
RandomAccessFile.writeChars(String str)
Writes the 16-bit characters from a string to this file, starting at the current file pointer. |
void |
DataOutput.writeUTF(String str)
Writes the specified string encoded in modified UTF-8. |
void |
ObjectOutputStream.writeUTF(String value)
Writes a string encoded with modified UTF-8 to the
target stream. |
void |
DataOutputStream.writeUTF(String str)
Writes the specified encoded in modified UTF-8 to this
stream. |
void |
RandomAccessFile.writeUTF(String str)
Writes a string encoded with modified UTF-8 to this
file, starting at the current file pointer. |
(package private) void |
DataOutputStream.writeUTFBytes(String str,
long count)
|
| Constructors in java.io with parameters of type String | |
|---|---|
CharConversionException(String detailMessage)
Constructs a new CharConversionException with its stack trace and
detail message filled in. |
|
EOFException(String detailMessage)
Constructs a new EOFException with its stack trace and detail
message filled in. |
|
File(File dir,
String name)
Constructs a new file using the specified directory and name. |
|
File(String path)
Constructs a new file using the specified path. |
|
File(String dirPath,
String name)
Constructs a new File using the specified directory path and file name, placing a path separator between the two. |
|
FileInputStream(String fileName)
Constructs a new FileInputStream on the file named
fileName. |
|
FileNotFoundException(String detailMessage)
Constructs a new FileNotFoundException with its stack trace and
detail message filled in. |
|
FileOutputStream(String filename)
Constructs a new FileOutputStream on the file named filename. |
|
FileOutputStream(String filename,
boolean append)
Constructs a new FileOutputStream on the file named filename. |
|
FilePermission(String path,
String actions)
Constructs a new FilePermission with the path and actions specified. |
|
FileReader(String filename)
Construct a new FileReader on the given file named filename. |
|
FileWriter(String filename)
Creates a FileWriter using the platform dependent filename. |
|
FileWriter(String filename,
boolean append)
Creates a FileWriter using the platform dependent filename. |
|
InputStreamReader(InputStream in,
String enc)
Constructs a new InputStreamReader on the InputStream in. |
|
InterruptedIOException(String detailMessage)
Constructs a new InterruptedIOException with its stack trace and
detail message filled in. |
|
InvalidClassException(String detailMessage)
Constructs a new InvalidClassException with its stack trace and
detailed message filled in. |
|
InvalidClassException(String className,
String detailMessage)
Constructs a new InvalidClassException with its stack trace,
detail message and the fully qualified name of the class which caused the
exception filled in. |
|
InvalidObjectException(String detailMessage)
Constructs an InvalidObjectException with its stack trace and
detail message filled in. |
|
IOException(String detailMessage)
Constructs a new IOException with its stack trace and detail
message filled in. |
|
NotActiveException(String detailMessage)
Constructs a new NotActiveException with its stack trace and
detail message filled in. |
|
NotSerializableException(String detailMessage)
Constructs a new NotSerializableException with its stack trace
and detail message filled in. |
|
ObjectStreamException(String detailMessage)
Constructs a new ObjectStreamException with its stack trace and
detail message filled in. |
|
ObjectStreamField(String name,
Class<?> cl)
Constructs an ObjectStreamField with the specified name and type. |
|
ObjectStreamField(String name,
Class<?> cl,
boolean unshared)
Constructs an ObjectStreamField with the specified name, type and the indication if it is unshared. |
|
ObjectStreamField(String signature,
String name)
Constructs an ObjectStreamField with the given name and the given type. |
|
OptionalDataException(String detailMessage)
Constructs a new OptionalDataException with its stack trace and
detail message filled in. |
|
OutputStreamWriter(OutputStream out,
String enc)
Constructs a new OutputStreamWriter using out as the target
stream to write converted characters to and enc as the character
encoding. |
|
PrintStream(File file,
String csn)
Constructs a new PrintStream with file as its target. |
|
PrintStream(OutputStream out,
boolean autoflush,
String enc)
Constructs a new PrintStream with out as its target
stream and using the character encoding enc while writing. |
|
PrintStream(String fileName)
Constructs a new PrintStream with the file identified by
fileName as its target. |
|
PrintStream(String fileName,
String csn)
Constructs a new PrintStream with the file identified by
fileName as its target. |
|
PrintWriter(File file,
String csn)
Constructs a new PrintWriter with file as its target. |
|
PrintWriter(String fileName)
Constructs a new PrintWriter with the file identified by fileName as its target. |
|
PrintWriter(String fileName,
String csn)
Constructs a new PrintWriter with the file identified by fileName as its target. |
|
RandomAccessFile(File file,
String mode)
Constructs a new RandomAccessFile based on file and opens
it according to the access string in mode. |
|
RandomAccessFile(String fileName,
String mode)
Constructs a new RandomAccessFile based on the file named fileName and opens it according to the access string in mode. |
|
SerializablePermission(String permissionName)
Constructs a new SerializablePermission with the specified name. |
|
SerializablePermission(String name,
String actions)
Constructs a new SerializablePermission with the specified name. |
|
StreamCorruptedException(String detailMessage)
Constructs a new StreamCorruptedException with its stack trace
and detail message filled in. |
|
StringBufferInputStream(String str)
Deprecated. Construct a new StringBufferInputStream with str as
source. |
|
StringReader(String str)
Construct a new StringReader with str as source. |
|
SyncFailedException(String detailMessage)
Constructs a new SyncFailedException with its stack trace and
detail message filled in. |
|
UnsupportedEncodingException(String detailMessage)
Constructs a new UnsupportedEncodingException with its stack
trace and detail message filled in. |
|
UTFDataFormatException(String detailMessage)
Constructs a new UTFDataFormatException with its stack trace and
detail message filled in. |
|
WriteAbortedException(String detailMessage,
Exception rootCause)
Constructs a new WriteAbortedException with its stack trace,
detail message and the exception which caused the underlying problem when
serializing the object filled in. |
|
| Uses of String in java.lang |
|---|
| Fields in java.lang declared as String | |
|---|---|
(package private) String |
StackTraceElement.declaringClass
|
(package private) String |
ReaderInputStream.encoding
|
(package private) String |
StackTraceElement.fileName
|
(package private) String |
StackTraceElement.methodName
|
(package private) String |
Character.Subset.name
|
(package private) String |
Thread.name
|
| Fields in java.lang with type parameters of type String | |
|---|---|
static Comparator<String> |
String.CASE_INSENSITIVE_ORDER
A comparator ignoring the case of the characters. |
| Methods in java.lang that return String | |
|---|---|
static String |
System.clearProperty(String key)
Removes a specific system property. |
String |
String.concat(String string)
Concatenates this string and the specified string. |
String |
EnumConstantNotPresentException.constantName()
Gets the name of the missing constant. |
static String |
String.copyValueOf(char[] data)
Creates a new string containing the characters in the specified character array. |
static String |
String.copyValueOf(char[] data,
int start,
int length)
Creates a new string containing the specified characters in the character array. |
protected String |
ClassLoader.findLibrary(String libName)
Returns the absolute path of the native library with the specified name, or null. |
static String |
String.format(Locale loc,
String format,
Object... args)
Returns a formatted string, using the supplied format and arguments, accordingly to the specified locale. |
static String |
String.format(String format,
Object... args)
Returns a formatted string, using the supplied format and arguments, using the default locale. |
String |
SystemEnvironment.get(Object key)
|
String |
Class.getCanonicalName()
Returns the canonical name of this class. |
String |
StackTraceElement.getClassName()
Returns the fully qualified name of the class belonging to this StackTraceElement. |
static String |
System.getenv(String name)
Returns the value of the environment variable with the given name var. |
String |
StackTraceElement.getFileName()
Returns the name of the Java source file containing class belonging to this StackTraceElement. |
String |
Package.getImplementationTitle()
Returns the title of the implementation of this package, or null
if this is unknown. |
String |
Package.getImplementationVendor()
Returns the name of the vendor or organization that provides this implementation of the package, or null if this is unknown. |
String |
Package.getImplementationVersion()
Returns the version of the implementation of this package, or null if this is unknown. |
String |
Throwable.getLocalizedMessage()
Returns the extra information message which was provided when this Throwable was created. |
String |
Throwable.getMessage()
Returns the extra information message which was provided when this Throwable was created. |
String |
StackTraceElement.getMethodName()
Returns the name of the method belonging to this StackTraceElement. |
String |
Class.getName()
Returns the name of the class represented by this Class. |
String |
Thread.getName()
Returns the name of the Thread. |
String |
Package.getName()
Returns the name of this package in the standard dot notation; for example: "java.lang". |
String |
ThreadGroup.getName()
Returns the name of the receiver. |
static String |
System.getProperty(String prop)
Returns the value of a particular system property or null if no
such property exists. |
static String |
System.getProperty(String prop,
String defaultValue)
Returns the value of a particular system property. |
String |
Class.getSimpleName()
Returns the simple name of the class represented by this Class as
defined in the source code. |
String |
Package.getSpecificationTitle()
Returns the title of the specification this package implements, or null if this is unknown. |
String |
Package.getSpecificationVendor()
Returns the name of the vendor or organization that owns and maintains the specification this package implements, or null if this is
unknown. |
String |
Package.getSpecificationVersion()
Returns the version of the specification this package implements, or null if this is unknown. |
String |
String.intern()
Searches an internal table of strings for a string equal to this string. |
static String |
System.mapLibraryName(String userLibName)
Returns the platform specific file name format for the shared library named by the argument. |
String |
Enum.name()
Returns the name of this enum constant. |
String |
SystemEnvironment.put(Object key,
Object value)
|
String |
SystemEnvironment.remove(Object key)
|
String |
String.replace(char oldChar,
char newChar)
Copies this string replacing occurrences of the specified character with another character. |
String |
String.replace(CharSequence target,
CharSequence replacement)
Copies this string replacing occurrences of the specified target sequence with another sequence. |
String |
String.replaceAll(String expr,
String substitute)
Replace any substrings within this string that match the supplied regular expression expr, with the string substitute. |
String |
String.replaceFirst(String expr,
String substitute)
Replace the first substring within this string that matches the supplied regular expression expr, with the string substitute. |
static String |
System.setProperty(String prop,
String value)
Sets the value of a particular system property. |
String[] |
String.split(String expr)
Splits this string using the supplied regular expression expr. |
String[] |
String.split(String expr,
int max)
Splits this string using the supplied regular expression expr. |
String |
String.substring(int start)
Copies a range of characters into a new string. |
String |
AbstractStringBuilder.substring(int start)
Returns the String value of the subsequence from the start index
to the current end. |
String |
StringBuffer.substring(int start)
|
String |
String.substring(int start,
int end)
Copies a range of characters into a new string. |
String |
AbstractStringBuilder.substring(int start,
int end)
Returns the String value of the subsequence from the start index
to the end index. |
String |
StringBuffer.substring(int start,
int end)
|
static String |
Integer.toBinaryString(int i)
Converts the specified integer into its binary string representation. |
static String |
Long.toBinaryString(long l)
Converts the specified long value into its binary string representation. |
static String |
Double.toHexString(double d)
Converts the specified double into its hexadecimal string representation. |
static String |
Float.toHexString(float f)
Converts the specified float into its hexadecimal string representation. |
static String |
Integer.toHexString(int i)
Converts the specified integer into its hexadecimal string representation. |
static String |
Long.toHexString(long l)
Converts the specified long value into its hexadecimal string representation. |
String |
String.toLowerCase()
Converts the characters in this string to lowercase, using the default Locale. |
String |
String.toLowerCase(Locale locale)
Converts the characters in this string to lowercase, using the specified Locale. |
static String |
Integer.toOctalString(int i)
Converts the specified integer into its octal string representation. |
static String |
Long.toOctalString(long l)
Converts the specified long value into its octal string representation. |
String |
Double.toString()
|
String |
String.toString()
Returns this string. |
String |
Enum.toString()
Returns a string containing a concise, human-readable description of this object. |
String |
Float.toString()
|
String |
Byte.toString()
|
String |
Long.toString()
|
String |
AbstractStringBuilder.toString()
Returns the current String representation. |
String |
Short.toString()
|
String |
Character.toString()
|
String |
Character.Subset.toString()
Returns the string representation of this subset. |
String |
CharSequence.toString()
Returns a string with the same characters in the same order as in this sequence. |
String |
StringBuilder.toString()
Returns the contents of this builder. |
String |
Boolean.toString()
Returns a string containing a concise, human-readable description of this boolean. |
String |
StringBuffer.toString()
|
String |
Integer.toString()
|
String |
Class.toString()
|
String |
Thread.toString()
Returns a string containing a concise, human-readable description of the Thread. |
String |
StackTraceElement.toString()
|
String |
Object.toString()
Returns a string containing a concise, human-readable description of this object. |
String |
Throwable.toString()
|
String |
ProcessManager.ProcessImpl.toString()
|
String |
Package.toString()
|
String |
ThreadGroup.toString()
Returns a string containing a concise, human-readable description of the receiver. |
static String |
Boolean.toString(boolean value)
Converts the specified boolean to its string representation. |
static String |
Byte.toString(byte value)
Returns a string containing a concise, human-readable description of the specified byte value. |
static String |
Character.toString(char value)
Converts the specified character to its string representation. |
static String |
Double.toString(double d)
Returns a string containing a concise, human-readable description of the specified double value. |
static String |
Float.toString(float f)
Returns a string containing a concise, human-readable description of the specified float value. |
static String |
Integer.toString(int i)
Converts the specified integer into its decimal string representation. |
static String |
Integer.toString(int i,
int radix)
Converts the specified integer into a string representation based on the specified radix. |
static String |
Long.toString(long l)
Converts the specified long value into its decimal string representation. |
static String |
Long.toString(long l,
int radix)
Converts the specified long value into a string representation based on the specified radix. |
static String |
Short.toString(short value)
Returns a string containing a concise, human-readable description of the specified short value with radix 10. |
String |
String.toUpperCase()
Converts the characters in this string to uppercase, using the default Locale. |
String |
String.toUpperCase(Locale locale)
Converts the characters in this string to uppercase, using the specified Locale. |
String |
String.trim()
Copies this string removing white space characters from the beginning and end of the string. |
String |
TypeNotPresentException.typeName()
Gets the fully qualified name of the type that could not be found. |
static String |
String.valueOf(boolean value)
Converts the specified boolean to its string representation. |
static String |
String.valueOf(char value)
Converts the specified character to its string representation. |
static String |
String.valueOf(char[] data)
Creates a new string containing the characters in the specified character array. |
static String |
String.valueOf(char[] data,
int start,
int length)
Creates a new string containing the specified characters in the character array. |
static String |
String.valueOf(double value)
Converts the specified double to its string representation. |
static String |
String.valueOf(float value)
Converts the specified float to its string representation. |
static String |
String.valueOf(int value)
Converts the specified integer to its string representation. |
static String |
String.valueOf(long value)
Converts the specified long to its string representation. |
static String |
String.valueOf(Object value)
Converts the specified object to its string representation. |
| Methods in java.lang that return types with arguments of type String | |
|---|---|
List<String> |
ProcessBuilder.command()
Returns this process builder's current program and arguments. |
Map<String,String> |
ProcessBuilder.environment()
Returns this process builder's current environment. |
Map<String,String> |
ProcessBuilder.environment()
Returns this process builder's current environment. |
static Map<String,String> |
System.getenv()
Returns an unmodifiable map of all available environment variables. |
static Map<String,String> |
System.getenv()
Returns an unmodifiable map of all available environment variables. |
Set<String> |
SystemEnvironment.keySet()
|
| Methods in java.lang with parameters of type String | ||
|---|---|---|
StringBuilder |
StringBuilder.append(String str)
Appends the contents of the specified string. |
|
StringBuffer |
StringBuffer.append(String string)
Adds the specified string to the end of this buffer. |
|
(package private) void |
AbstractStringBuilder.append0(String string)
|
|
void |
SecurityManager.checkAccept(String host,
int port)
Checks whether the calling thread is allowed to accept socket connections. |
|
void |
SecurityManager.checkConnect(String host,
int port)
Checks whether the calling thread is allowed to establish socket connections. |
|
void |
SecurityManager.checkConnect(String host,
int port,
Object context)
Checks whether the specified security context is allowed to establish socket connections. |
|
void |
SecurityManager.checkDelete(String file)
Checks whether the calling thread is allowed to delete the file with the specified name, which should be passed in canonical form. |
|
void |
SecurityManager.checkExec(String cmd)
Checks whether the calling thread is allowed to execute the specified platform specific command. |
|
void |
SecurityManager.checkLink(String libName)
Checks whether the calling thread is allowed to load the specified native library. |
|
void |
SecurityManager.checkPackageAccess(String packageName)
Checks whether the calling thread is allowed to access the specified package. |
|
void |
SecurityManager.checkPackageDefinition(String packageName)
Checks whether the calling thread is allowed to define new classes in the specified package. |
|
void |
SecurityManager.checkPropertyAccess(String key)
Checks whether the calling thread is allowed to access a particular system property. |
|
void |
SecurityManager.checkRead(String file)
Checks whether the calling thread is allowed to read from the file with the specified name, which should be passed in canonical form. |
|
void |
SecurityManager.checkRead(String file,
Object context)
Checks whether the given security context is allowed to read from the file named by the argument, which should be passed in canonical form. |
|
void |
SecurityManager.checkSecurityAccess(String target)
Checks whether the calling thread is allowed to perform the security operation named by the target. |
|
void |
SecurityManager.checkWrite(String file)
Checks whether the calling thread is allowed to write to the file with the specified name, which should be passed in canonical form. |
|
protected int |
SecurityManager.classDepth(String name)
Deprecated. Use SecurityManager.checkPermission(java.security.Permission). |
|
(package private) static Class<?> |
Class.classForName(String className,
boolean initializeBoolean,
ClassLoader classLoader)
|
|
static String |
System.clearProperty(String key)
Removes a specific system property. |
|
ProcessBuilder |
ProcessBuilder.command(String... command)
Changes the program and arguments of this process builder. |
|
int |
String.compareTo(String string)
Compares the specified string to this string using the Unicode values of the characters. |
|
int |
String.compareToIgnoreCase(String string)
Compares the specified string to this string using the Unicode values of the characters, ignoring case differences. |
|
static boolean |
Compiler.compileClasses(String nameRoot)
Compiles all classes whose name matches the specified name using the JIT compiler and indicates if compilation has been successful. |
|
String |
String.concat(String string)
Concatenates this string and the specified string. |
|
static Byte |
Byte.decode(String string)
Parses the specified string and returns a Byte instance if the
string can be decoded into a single byte value. |
|
static Long |
Long.decode(String string)
Parses the specified string and returns a Long instance if the
string can be decoded into a long value. |
|
static Short |
Short.decode(String string)
Parses the specified string and returns a Short instance if the
string can be decoded into a short value. |
|
static Integer |
Integer.decode(String string)
Parses the specified string and returns a Integer instance if the
string can be decoded into an integer value. |
|
(package private) static Class |
VMClassLoader.defineClass(ClassLoader cl,
String name,
byte[] data,
int offset,
int len,
ProtectionDomain pd)
|
|
protected Class<?> |
ClassLoader.defineClass(String className,
byte[] classRep,
int offset,
int length)
Constructs a new class from an array of bytes containing a class definition in class file format. |
|
protected Class<?> |
ClassLoader.defineClass(String className,
byte[] classRep,
int offset,
int length,
ProtectionDomain protectionDomain)
Constructs a new class from an array of bytes containing a class definition in class file format and assigns the specified protection domain to the new class. |
|
protected Class<?> |
ClassLoader.defineClass(String name,
ByteBuffer b,
ProtectionDomain protectionDomain)
Defines a new class with the specified name, byte code from the byte buffer and the optional protection domain. |
|
protected Package |
ClassLoader.definePackage(String name,
String specTitle,
String specVersion,
String specVendor,
String implTitle,
String implVersion,
String implVendor,
URL sealBase)
Defines and returns a new Package using the specified
information. |
|
boolean |
String.endsWith(String suffix)
Compares the specified string to this string to determine if the specified string is a suffix. |
|
boolean |
String.equalsIgnoreCase(String string)
Compares the specified string to this string ignoring the case of the characters and returns true if they are equal. |
|
Process |
Runtime.exec(String prog)
Executes the specified program in a separate native process. |
|
Process |
Runtime.exec(String[] progArray)
Executes the specified command and its arguments in a separate native process. |
|
Process |
Runtime.exec(String[] progArray,
String[] envp)
Executes the specified command and its arguments in a separate native process. |
|
Process |
Runtime.exec(String[] progArray,
String[] envp)
Executes the specified command and its arguments in a separate native process. |
|
(package private) Process |
ProcessManager.exec(String[] commands,
String[] environment,
File workingDirectory)
Executes a process and returns an object representing it. |
|
(package private) Process |
ProcessManager.exec(String[] commands,
String[] environment,
File workingDirectory)
Executes a process and returns an object representing it. |
|
Process |
Runtime.exec(String[] progArray,
String[] envp,
File directory)
Executes the specified command and its arguments in a separate native process. |
|
Process |
Runtime.exec(String[] progArray,
String[] envp,
File directory)
Executes the specified command and its arguments in a separate native process. |
|
(package private) static int |
ProcessManager.exec(String[] commands,
String[] environment,
String workingDirectory,
FileDescriptor in,
FileDescriptor out,
FileDescriptor err)
Executes a native process. |
|
(package private) static int |
ProcessManager.exec(String[] commands,
String[] environment,
String workingDirectory,
FileDescriptor in,
FileDescriptor out,
FileDescriptor err)
Executes a native process. |
|
(package private) static int |
ProcessManager.exec(String[] commands,
String[] environment,
String workingDirectory,
FileDescriptor in,
FileDescriptor out,
FileDescriptor err)
Executes a native process. |
|
Process |
Runtime.exec(String prog,
String[] envp)
Executes the specified program in a separate native process. |
|
Process |
Runtime.exec(String prog,
String[] envp)
Executes the specified program in a separate native process. |
|
Process |
Runtime.exec(String prog,
String[] envp,
File directory)
Executes the specified program in a separate native process. |
|
Process |
Runtime.exec(String prog,
String[] envp,
File directory)
Executes the specified program in a separate native process. |
|
protected Class<?> |
ClassLoader.findClass(String className)
Overridden by subclasses, throws a ClassNotFoundException by
default. |
|
protected Class<?> |
BootClassLoader.findClass(String name)
|
|
static Field |
ClassCache.findFieldByName(Field[] list,
String name)
Finds and returns a field with a given name and signature. |
|
protected String |
ClassLoader.findLibrary(String libName)
Returns the absolute path of the native library with the specified name, or null. |
|
(package private) static Class |
VMClassLoader.findLoadedClass(ClassLoader cl,
String name)
|
|
protected Class<?> |
ClassLoader.findLoadedClass(String className)
Returns the class with the specified name if it has already been loaded by the virtual machine or null if it has not yet been loaded. |
|
static Method |
ClassCache.findMethodByName(Method[] list,
String name,
Class<?>[] parameterTypes)
Finds and returns a method with a given name and signature. |
|
protected URL |
ClassLoader.findResource(String resName)
Finds the URL of the resource with the specified name. |
|
protected URL |
BootClassLoader.findResource(String name)
|
|
protected Enumeration<URL> |
ClassLoader.findResources(String resName)
Finds an enumeration of URLs for the resource with the specified name. |
|
protected Enumeration<URL> |
BootClassLoader.findResources(String resName)
|
|
protected Class<?> |
ClassLoader.findSystemClass(String className)
Finds the class with the specified name, loading it using the system class loader if necessary. |
|
static String |
String.format(Locale loc,
String format,
Object... args)
Returns a formatted string, using the supplied format and arguments, accordingly to the specified locale. |
|
static String |
String.format(String format,
Object... args)
Returns a formatted string, using the supplied format and arguments, using the default locale. |
|
static Character.UnicodeBlock |
Character.UnicodeBlock.forName(String blockName)
Retrieves the constant that corresponds to the specified block name. |
|
static Class<?> |
Class.forName(String className)
Returns a Class object which represents the class with the
specified name. |
|
static Class<?> |
Class.forName(String className,
boolean initializeBoolean,
ClassLoader classLoader)
Returns a Class object which represents the class with the
specified name. |
|
static boolean |
Boolean.getBoolean(String string)
Returns the boolean value of the system property identified by
string. |
|
byte[] |
String.getBytes(String encoding)
Converts this string to a byte array using the specified encoding. |
|
(package private) boolean |
ClassLoader.getClassAssertionStatus(String cname)
Returns the assertion status of the named class Returns the assertion status of the class or nested class if it has been set. |
|
Field |
Class.getDeclaredField(String name)
Returns a Field object for the field with the specified name
which is declared in the class represented by this Class. |
|
Method |
Class.getDeclaredMethod(String name,
Class... parameterTypes)
Returns a Method object which represents the method matching the
specified name and parameter types that is declared by the class
represented by this Class. |
|
T |
ClassCache.getEnumValue(String name)
Gets the enumerated value with a given name. |
|
static String |
System.getenv(String name)
Returns the value of the environment variable with the given name var. |
|
Field |
Class.getField(String name)
Returns a Field object which represents the public field with the
specified name. |
|
static Integer |
Integer.getInteger(String string)
Returns the Integer value of the system property identified by
string. |
|
static Integer |
Integer.getInteger(String string,
int defaultValue)
Returns the Integer value of the system property identified by
string. |
|
static Integer |
Integer.getInteger(String string,
Integer defaultValue)
Returns the Integer value of the system property identified by
string. |
|
static Long |
Long.getLong(String string)
Returns the Long value of the system property identified by
string. |
|
static Long |
Long.getLong(String string,
long defaultValue)
Returns the Long value of the system property identified by
string. |
|
static Long |
Long.getLong(String string,
Long defaultValue)
Returns the Long value of the system property identified by
string. |
|
Method |
Class.getMethod(String name,
Class... parameterTypes)
Returns a Method object which represents the public method with
the specified name and parameter types. |
|
(package private) static Package |
ClassLoader.getPackage(ClassLoader loader,
String name)
Gets the package with the specified name, searching it in the specified class loader. |
|
protected Package |
ClassLoader.getPackage(String name)
Returns the package with the specified name. |
|
protected Package |
BootClassLoader.getPackage(String name)
Returns package information for the given package. |
|
static Package |
Package.getPackage(String packageName)
Attempts to locate the requested package in the caller's class loader. |
|
(package private) boolean |
ClassLoader.getPackageAssertionStatus(String pname)
Returns the assertion status of the named package Returns the assertion status of the named package or superpackage if that has been set. |
|
static String |
System.getProperty(String prop)
Returns the value of a particular system property or null if no
such property exists. |
|
static String |
System.getProperty(String prop,
String defaultValue)
Returns the value of a particular system property. |
|
(package private) static URL |
VMClassLoader.getResource(String name)
Get a resource from a file in the bootstrap class path. |
|
URL |
Class.getResource(String resName)
Returns the URL of the resource specified by resName. |
|
URL |
ClassLoader.getResource(String resName)
Returns the URL of the resource with the specified name. |
|
InputStream |
Class.getResourceAsStream(String resName)
Returns a read-only stream for the contents of the resource specified by resName. |
|
InputStream |
ClassLoader.getResourceAsStream(String resName)
Returns a stream for the resource with the specified name. |
|
(package private) static Enumeration<URL> |
VMClassLoader.getResources(String name)
|
|
Enumeration<URL> |
ClassLoader.getResources(String resName)
Returns an enumeration of URLs for the resource with the specified name. |
|
static URL |
ClassLoader.getSystemResource(String resName)
Finds the URL of the resource with the specified name. |
|
static InputStream |
ClassLoader.getSystemResourceAsStream(String resName)
Returns a stream for the resource with the specified name. |
|
static Enumeration<URL> |
ClassLoader.getSystemResources(String resName)
Returns an enumeration of URLs for the resource with the specified name. |
|
protected boolean |
SecurityManager.inClass(String name)
Deprecated. Use SecurityManager.checkPermission(java.security.Permission). |
|
int |
String.indexOf(String string)
Searches in this string for the first index of the specified string. |
|
int |
AbstractStringBuilder.indexOf(String string)
Searches for the first index of the specified character. |
|
int |
String.indexOf(String subString,
int start)
Searches in this string for the index of the specified string. |
|
int |
AbstractStringBuilder.indexOf(String subString,
int start)
Searches for the index of the specified character. |
|
int |
StringBuffer.indexOf(String subString,
int start)
|
|
StringBuilder |
StringBuilder.insert(int offset,
String str)
Inserts the specified string at the specified offset. |
|
StringBuffer |
StringBuffer.insert(int index,
String string)
Inserts the string into this buffer at the specified offset. |
|
(package private) void |
AbstractStringBuilder.insert0(int index,
String string)
|
|
boolean |
Package.isCompatibleWith(String version)
Indicates whether this package's specification version is compatible with the specified version string. |
|
int |
String.lastIndexOf(String string)
Searches in this string for the last index of the specified string. |
|
int |
AbstractStringBuilder.lastIndexOf(String string)
Searches for the last index of the specified character. |
|
int |
String.lastIndexOf(String subString,
int start)
Searches in this string for the index of the specified string. |
|
int |
AbstractStringBuilder.lastIndexOf(String subString,
int start)
Searches for the index of the specified character. |
|
int |
StringBuffer.lastIndexOf(String subString,
int start)
|
|
static void |
System.load(String pathName)
Loads the specified file as a dynamic library. |
|
void |
Runtime.load(String pathName)
Loads and links the dynamic library that is identified through the specified path. |
|
(package private) void |
Runtime.load(String filename,
ClassLoader loader)
|
|
Class<?> |
ClassLoader.loadClass(String className)
Loads the class with the specified name. |
|
(package private) static Class |
VMClassLoader.loadClass(String name,
boolean resolve)
Load class with bootstrap class loader. |
|
protected Class<?> |
ClassLoader.loadClass(String className,
boolean resolve)
Loads the class with the specified name, optionally linking it after loading. |
|
static void |
System.loadLibrary(String libName)
Loads and links the shared library with the given name libName. |
|
void |
Runtime.loadLibrary(String libName)
Loads and links the library with the specified name. |
|
(package private) void |
Runtime.loadLibrary(String libname,
ClassLoader loader)
|
|
(package private) static void |
ClassLoader.loadLibraryWithClassLoader(String libName,
ClassLoader loader)
This method must be provided by the VM vendor, as it is called by java.lang.System.loadLibrary(). |
|
(package private) static void |
ClassLoader.loadLibraryWithPath(String libName,
ClassLoader loader,
String libraryPath)
This method must be provided by the VM vendor, as it is called by java.lang.System.load(). |
|
static String |
System.mapLibraryName(String userLibName)
Returns the platform specific file name format for the shared library named by the argument. |
|
boolean |
String.matches(String expr)
Determines whether this string matches a given regular expression. |
|
(package private) void |
VMThread.nameChanged(String newName)
Tell the VM that the thread's name has changed. |
|
static boolean |
Boolean.parseBoolean(String s)
Parses the specified string as a boolean. |
|
static byte |
Byte.parseByte(String string)
Parses the specified string as a signed decimal byte value. |
|
static byte |
Byte.parseByte(String string,
int radix)
Parses the specified string as a signed byte value using the specified radix. |
|
static double |
Double.parseDouble(String string)
Parses the specified string as a double value. |
|
static float |
Float.parseFloat(String string)
Parses the specified string as a float value. |
|
static int |
Integer.parseInt(String string)
Parses the specified string as a signed decimal integer value. |
|
static int |
Integer.parseInt(String string,
int radix)
Parses the specified string as a signed integer value using the specified radix. |
|
static long |
Long.parseLong(String string)
Parses the specified string as a signed decimal long value. |
|
static long |
Long.parseLong(String string,
int radix)
Parses the specified string as a signed long value using the specified radix. |
|
static short |
Short.parseShort(String string)
Parses the specified string as a signed decimal short value. |
|
static short |
Short.parseShort(String string,
int radix)
Parses the specified string as a signed short value using the specified radix. |
|
void |
String.ConsolePrintStream.print(String str)
Override the print(String) method from PrintStream to perform the character conversion using the console character converter. |
|
boolean |
String.regionMatches(boolean ignoreCase,
int thisStart,
String string,
int start,
int length)
Compares the specified string to this string and compares the specified range of characters to determine if they are the same. |
|
boolean |
String.regionMatches(int thisStart,
String string,
int start,
int length)
Compares the specified string to this string and compares the specified range of characters to determine if they are the same. |
|
StringBuilder |
StringBuilder.replace(int start,
int end,
String str)
Replaces the specified subsequence in this builder with the specified string. |
|
StringBuffer |
StringBuffer.replace(int start,
int end,
String string)
Replaces the characters in the specified range with the contents of the specified string. |
|
(package private) void |
AbstractStringBuilder.replace0(int start,
int end,
String string)
|
|
String |
String.replaceAll(String expr,
String substitute)
Replace any substrings within this string that match the supplied regular expression expr, with the string substitute. |
|
String |
String.replaceFirst(String expr,
String substitute)
Replace the first substring within this string that matches the supplied regular expression expr, with the string substitute. |
|
void |
ClassLoader.setClassAssertionStatus(String cname,
boolean enable)
Sets the assertion status of the class with the specified name. |
|
void |
Thread.setName(String threadName)
Sets the name of the Thread. |
|
void |
ClassLoader.setPackageAssertionStatus(String pname,
boolean enable)
Sets the assertion status of the package with the specified name. |
|
static String |
System.setProperty(String prop,
String value)
Sets the value of a particular system property. |
|
String[] |
String.split(String expr)
Splits this string using the supplied regular expression expr. |
|
String[] |
String.split(String expr,
int max)
Splits this string using the supplied regular expression expr. |
|
boolean |
String.startsWith(String prefix)
Compares the specified string to this string to determine if the specified string is a prefix. |
|
boolean |
String.startsWith(String prefix,
int start)
Compares the specified string to this string, starting at the specified offset, to determine if the specified string is a prefix. |
|
static
|
Enum.valueOf(Class<T> enumType,
String name)
Returns the constant with the specified name of the specified enum type. |
|
static Double |
Double.valueOf(String string)
Parses the specified string as a double value. |
|
static Float |
Float.valueOf(String string)
Parses the specified string as a float value. |
|
static Byte |
Byte.valueOf(String string)
Parses the specified string as a signed decimal byte value. |
|
static Long |
Long.valueOf(String string)
Parses the specified string as a signed decimal long value. |
|
static Short |
Short.valueOf(String string)
Parses the specified string as a signed decimal short value. |
|
static Boolean |
Boolean.valueOf(String string)
Parses the specified string as a boolean value. |
|
static Integer |
Integer.valueOf(String string)
Parses the specified string as a signed decimal integer value. |
|
static Thread.State |
Thread.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
|
static Byte |
Byte.valueOf(String string,
int radix)
Parses the specified string as a signed byte value using the specified radix. |
|
static Long |
Long.valueOf(String string,
int radix)
Parses the specified string as a signed long value using the specified radix. |
|
static Short |
Short.valueOf(String string,
int radix)
Parses the specified string as a signed short value using the specified radix. |
|
static Integer |
Integer.valueOf(String string,
int radix)
Parses the specified string as a signed integer value using the specified radix. |
|
| Method parameters in java.lang with type arguments of type String | |
|---|---|
ProcessBuilder |
ProcessBuilder.command(List<String> command)
Changes the program and arguments of this process builder. |
| Constructors in java.lang with parameters of type String | |
|---|---|
AbstractMethodError(String detailMessage)
Constructs a new AbstractMethodError with the current stack trace
and the specified detail message. |
|
AbstractStringBuilder(String string)
|
|
ArithmeticException(String detailMessage)
Constructs a new ArithmeticException with the current stack trace
and the specified detail message. |
|
ArrayIndexOutOfBoundsException(String detailMessage)
Constructs a new ArrayIndexOutOfBoundsException with the current
stack trace and the specified detail message. |
|
ArrayStoreException(String detailMessage)
Constructs a new ArrayStoreException with the current stack trace
and the specified detail message. |
|
Boolean(String string)
Constructs a new Boolean with its boolean value specified by
string. |
|
Byte(String string)
Constructs a new Byte from the specified string. |
|
Character.Subset(String string)
Constructs a new Subset. |
|
ClassCastException(String detailMessage)
Constructs a new ClassCastException with the current stack trace
and the specified detail message. |
|
ClassCircularityError(String detailMessage)
Constructs a new ClassCircularityError with the current stack
trace and the specified detail message. |
|
ClassFormatError(String detailMessage)
Constructs a new ClassFormatError with the current stack trace
and the specified detail message. |
|
ClassNotFoundException(String detailMessage)
Constructs a new ClassNotFoundException with the current stack
trace and the specified detail message. |
|
ClassNotFoundException(String detailMessage,
Throwable exception)
Constructs a new ClassNotFoundException with the current stack
trace, the specified detail message and the exception that occurred when
loading the class. |
|
CloneNotSupportedException(String detailMessage)
Constructs a new CloneNotSupportedException with the current
stack trace and the specified detail message. |
|
Double(String string)
Constructs a new Double from the specified string. |
|
Enum(String name,
int ordinal)
Constructor for constants of enum subtypes. |
|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs a new EnumConstantNotPresentException with the current
stack trace and a detail message based on the specified enum type and
missing constant name. |
|
Error(String detailMessage)
Constructs a new Error with the current stack trace and the
specified detail message. |
|
Error(String detailMessage,
Throwable throwable)
Constructs a new Error with the current stack trace, the
specified detail message and the specified cause. |
|
Exception(String detailMessage)
Constructs a new Exception with the current stack trace and the
specified detail message. |
|
Exception(String detailMessage,
Throwable throwable)
Constructs a new Exception with the current stack trace, the
specified detail message and the specified cause. |
|
ExceptionInInitializerError(String detailMessage)
Constructs a new ExceptionInInitializerError with the current
stack trace and the specified detail message. |
|
Float(String string)
Constructs a new Float from the specified string. |
|
IllegalAccessError(String detailMessage)
Constructs a new IllegalAccessError with the current stack trace
and the specified detail message. |
|
IllegalAccessException(String detailMessage)
Constructs a new IllegalAccessException with the current stack
trace and the specified detail message. |
|
IllegalArgumentException(String detailMessage)
Constructs a new IllegalArgumentException with the current stack
trace and the specified detail message. |
|
IllegalArgumentException(String message,
Throwable cause)
Constructs a new IllegalArgumentException with the current stack
trace, the specified detail message and the specified cause. |
|
IllegalMonitorStateException(String detailMessage)
Constructs a new IllegalArgumentException with the current stack
trace and the specified detail message. |
|
IllegalStateException(String detailMessage)
Constructs a new IllegalStateException with the current stack
trace and the specified detail message. |
|
IllegalStateException(String message,
Throwable cause)
Constructs a new IllegalStateException with the current stack
trace, the specified detail message and the specified cause. |
|
IllegalThreadStateException(String detailMessage)
Constructs a new IllegalThreadStateException with the current
stack trace and the specified detail message. |
|
IncompatibleClassChangeError(String detailMessage)
Constructs a new IncompatibleClassChangeError with the current
stack trace and the specified detail message. |
|
IndexOutOfBoundsException(String detailMessage)
Constructs a new IndexOutOfBoundsException with the current stack
trace and the specified detail message. |
|
InstantiationError(String detailMessage)
Constructs a new InstantiationError with the current stack trace
and the specified detail message. |
|
InstantiationException(String detailMessage)
Constructs a new InstantiationException with the current stack
trace and the specified detail message. |
|
Integer(String string)
Constructs a new Integer from the specified string. |
|
InternalError(String detailMessage)
Constructs a new InternalError with the current stack trace and
the specified detail message. |
|
InterruptedException(String detailMessage)
Constructs a new InterruptedException with the current stack
trace and the specified detail message. |
|
LinkageError(String detailMessage)
Constructs a new LinkageError with the current stack trace and
the specified detail message. |
|
Long(String string)
Constructs a new Long from the specified string. |
|
NegativeArraySizeException(String detailMessage)
Constructs a new NegativeArraySizeException with the current
stack trace and the specified detail message. |
|
NoClassDefFoundError(String detailMessage)
Constructs a new NoClassDefFoundError with the current stack
trace and the specified detail message. |
|
NoSuchFieldError(String detailMessage)
Constructs a new NoSuchFieldError with the current stack trace
and the specified detail message. |
|
NoSuchFieldException(String detailMessage)
Constructs a new NoSuchFieldException with the current stack
trace and the specified detail message. |
|
NoSuchMethodError(String detailMessage)
Constructs a new NoSuchMethodError with the current stack trace
and the specified detail message. |
|
NoSuchMethodException(String detailMessage)
Constructs a new NoSuchMethodException with the current stack
trace and the specified detail message. |
|
NullPointerException(String detailMessage)
Constructs a new NullPointerException with the current stack
trace and the specified detail message. |
|
NumberFormatException(String detailMessage)
Constructs a new NumberFormatException with the current stack
trace and the specified detail message. |
|
OutOfMemoryError(String detailMessage)
Constructs a new OutOfMemoryError with the current stack trace
and the specified detail message. |
|
Package(String name,
String specTitle,
String specVersion,
String specVendor,
String implTitle,
String implVersion,
String implVendor,
URL sealBase)
|
|
ProcessBuilder(String... command)
Constructs a new ProcessBuilder instance with the specified
operating system program and its arguments. |
|
RuntimeException(String detailMessage)
Constructs a new RuntimeException with the current stack trace
and the specified detail message. |
|
RuntimeException(String detailMessage,
Throwable throwable)
Constructs a new RuntimeException with the current stack trace,
the specified detail message and the specified cause. |
|
RuntimePermission(String permissionName)
Creates an instance of RuntimePermission with the specified name. |
|
RuntimePermission(String name,
String actions)
Creates an instance of RuntimePermission with the specified name
and action list. |
|
SecurityException(String detailMessage)
Constructs a new SecurityException with the current stack trace
and the specified detail message. |
|
SecurityException(String message,
Throwable cause)
Constructs a new SecurityException with the current stack trace,
the specified detail message and the specified cause. |
|
Short(String string)
Constructs a new Short from the specified string. |
|
StackOverflowError(String detailMessage)
Constructs a new StackOverflowError with the current stack trace
and the specified detail message. |
|
StackTraceElement(String cls,
String method,
String file,
int line)
Constructs a new StackTraceElement for a specified execution
point. |
|
String(byte[] data,
int start,
int length,
String encoding)
Converts the byte array to a string using the specified encoding. |
|
String(byte[] data,
String encoding)
Converts the byte array to a string using the specified encoding. |
|
String(String string)
Creates a String that is a copy of the specified string. |
|
StringBuffer(String string)
Constructs a new StringBuffer containing the characters in the specified stringy. |
|
StringBuilder(String str)
Constructs an instance that's initialized with the contents of the specified String. |
|
StringIndexOutOfBoundsException(String detailMessage)
Constructs a new StringIndexOutOfBoundsException with the current
stack trace and the specified detail message. |
|
Thread(Runnable runnable,
String threadName)
Constructs a new Thread with a Runnable object and name
provided. |
|
Thread(String threadName)
Constructs a new Thread with no Runnable object and the
name provided. |
|
Thread(ThreadGroup group,
Runnable runnable,
String threadName)
Constructs a new Thread with a Runnable object, the given
name and belonging to the ThreadGroup passed as parameter. |
|
Thread(ThreadGroup group,
Runnable runnable,
String threadName,
long stackSize)
Constructs a new Thread with a Runnable object, the given
name and belonging to the ThreadGroup passed as parameter. |
|
Thread(ThreadGroup group,
String threadName)
Constructs a new Thread with no Runnable object, the
given name and belonging to the ThreadGroup passed as parameter. |
|
Thread(ThreadGroup group,
String name,
int priority,
boolean daemon)
Package-scope method invoked by Dalvik VM to create "internal" threads or attach threads created externally. |
|
ThreadGroup(String name)
Constructs a new ThreadGroup with the name provided. |
|
ThreadGroup(ThreadGroup parent,
String name)
Constructs a new ThreadGroup with the name provided, as child of the ThreadGroup parent. |
|
Throwable(String detailMessage)
Constructs a new Throwable with the current stack trace and the
specified detail message. |
|
Throwable(String detailMessage,
Throwable throwable)
Constructs a new Throwable with the current stack trace, the
specified detail message and the specified cause. |
|
TypeNotPresentException(String typeName,
Throwable cause)
Constructs a new TypeNotPresentException with the current stack
trace, a detail message that includes the name of the type that could not
be found and the Throwable that caused this exception. |
|
UnknownError(String detailMessage)
Constructs a new UnknownError with the current stack trace and
the specified detail message. |
|
UnsatisfiedLinkError(String detailMessage)
Constructs a new UnsatisfiedLinkError with the current stack
trace and the specified detail message. |
|
UnsupportedClassVersionError(String detailMessage)
Constructs a new UnsupportedClassVersionError with the current
stack trace and the specified detail message. |
|
UnsupportedOperationException(String detailMessage)
Constructs a new UnsupportedOperationException with the current
stack trace and the specified detail message. |
|
UnsupportedOperationException(String message,
Throwable cause)
Constructs a new UnsupportedOperationException with the current
stack trace, the specified detail message and the specified cause. |
|
VerifyError(String detailMessage)
Constructs a new VerifyError with the current stack trace and the
specified detail message. |
|
VirtualMachineError(String detailMessage)
Constructs a new VirtualMachineError with the current stack trace
and the specified detail message. |
|
| Constructor parameters in java.lang with type arguments of type String | |
|---|---|
ProcessBuilder(List<String> command)
Constructs a new ProcessBuilder instance with the specified
operating system program and its arguments. |
|
SystemEnvironment(Map<String,String> map)
|
|
SystemEnvironment(Map<String,String> map)
|
|
| Uses of String in java.lang.annotation |
|---|
| Methods in java.lang.annotation that return String | |
|---|---|
String |
IncompleteAnnotationException.elementName()
Returns the incomplete element's name. |
String |
AnnotationTypeMismatchException.foundType()
Returns the invalid type. |
String |
Annotation.toString()
Returns a String representation of this annotation. |
| Methods in java.lang.annotation with parameters of type String | |
|---|---|
static RetentionPolicy |
RetentionPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ElementType |
ElementType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in java.lang.annotation with parameters of type String | |
|---|---|
AnnotationFormatError(String message)
Constructs an instance with the message provided. |
|
AnnotationFormatError(String message,
Throwable cause)
Constructs an instance with a message and a cause. |
|
AnnotationTypeMismatchException(Method element,
String foundType)
Constructs an instance for the given type element and the type found. |
|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an instance with the incomplete annotation type and the name of the element that's missing. |
|
| Uses of String in java.lang.reflect |
|---|
| Fields in java.lang.reflect with type parameters of type String | |
|---|---|
(package private) static Hashtable<String,String> |
AccessibleObject.trans
|
(package private) static Hashtable<String,String> |
AccessibleObject.trans
|
| Methods in java.lang.reflect that return String | |
|---|---|
(package private) static String |
AccessibleObject.getClassSignatureAttribute(Class clazz)
Retrieve the signature attribute from an arbitrary class. |
String |
Member.getName()
Returns the name of this member. |
String |
TypeVariable.getName()
Returns the name of this type variable as it is specified in source code. |
String |
Method.getName()
Returns the name of the method represented by this Method
instance. |
String |
Constructor.getName()
Returns the name of this constructor. |
String |
Field.getName()
Returns the name of this field. |
(package private) String |
AccessibleObject.getSignature(Class<?> clazz)
Returns the signature for a class. |
(package private) String |
Method.getSignatureAttribute()
Gets the Signature attribute for this instance. |
(package private) String |
AccessibleObject.getSignatureAttribute()
Gets the Signature attribute for this instance. |
(package private) String |
Constructor.getSignatureAttribute()
|
(package private) String |
Field.getSignatureAttribute()
Gets the Signature attribute for this instance. |
String |
Method.toGenericString()
Returns the string representation of the method's declaration, including the type parameters. |
String |
Constructor.toGenericString()
Returns the string representation of the constructor's declaration, including the type parameters. |
String |
Field.toGenericString()
Returns the string representation of this field, including the field's generic type. |
String |
Method.toString()
Returns a string containing a concise, human-readable description of this method. |
String |
Constructor.toString()
Returns a string containing a concise, human-readable description of this constructor. |
String |
Field.toString()
Returns a string containing a concise, human-readable description of this field. |
(package private) String |
AccessibleObject.toString(Class<?>[] types)
Returns a printable String consisting of the canonical names of the classes contained in an array. |
static String |
Modifier.toString(int modifiers)
Returns a string containing the string representation of all modifiers present in the specified modifiers. |
| Constructors in java.lang.reflect with parameters of type String | |
|---|---|
InvocationTargetException(Throwable exception,
String detailMessage)
Constructs a new InvocationTargetException instance with its
cause / target exception and message filled in. |
|
ReflectPermission(String permissionName)
Constructs a new ReflectPermission instance with the specified
name. |
|
ReflectPermission(String name,
String actions)
Constructs a new ReflectPermission instance with the specified
name and action list. |
|
UndeclaredThrowableException(Throwable exception,
String detailMessage)
Constructs a new UndeclaredThrowableException instance with the
undeclared, checked exception that occurred and a message. |
|
| Uses of String in java.math |
|---|
| Methods in java.math that return String | |
|---|---|
(package private) static String |
Conversion.bigInteger2String(BigInteger val,
int radix)
|
String |
BigInt.decString()
|
String |
BigInt.hexString()
|
(package private) static String |
Conversion.toDecimalScaledString(BigInteger val,
int scale)
Builds the correspondent String representation of val
being scaled by scale. |
(package private) static String |
Conversion.toDecimalScaledString(long value,
int scale)
|
String |
BigDecimal.toEngineeringString()
Returns a string representation of this BigDecimal. |
String |
BigDecimal.toPlainString()
Returns a string representation of this BigDecimal. |
String |
BigDecimal.toString()
Returns a canonical string representation of this BigDecimal. |
String |
MathContext.toString()
Returns the string representation for this MathContext instance. |
String |
BigInt.toString()
|
String |
BigInteger.toString()
Returns a string representation of this BigInteger in decimal
form. |
String |
BigInteger.toString(int radix)
Returns a string containing a string representation of this BigInteger with base radix. |
| Methods in java.math with parameters of type String | |
|---|---|
(package private) void |
BigInteger.establishOldRepresentation(String caller)
|
void |
BigInt.putDecString(String str)
|
void |
BigInt.putHexString(String str)
|
(package private) void |
BigInteger.validate(String caller,
String param)
|
(package private) static void |
BigInteger.validate1(String caller,
BigInteger a)
|
(package private) static void |
BigInteger.validate2(String caller,
BigInteger a,
BigInteger b)
|
(package private) static void |
BigInteger.validate3(String caller,
BigInteger a,
BigInteger b,
BigInteger c)
|
(package private) static void |
BigInteger.validate4(String caller,
BigInteger a,
BigInteger b,
BigInteger c,
BigInteger d)
|
static RoundingMode |
RoundingMode.valueOf(String name)
Returns the enum constant of this type with the specified name. |
(package private) BigInteger |
BigInteger.withNewRepresentation(String caller)
|
| Constructors in java.math with parameters of type String | |
|---|---|
BigDecimal(String val)
Constructs a new BigDecimal instance from a string
representation. |
|
BigDecimal(String val,
MathContext mc)
Constructs a new BigDecimal instance from a string
representation. |
|
BigInteger(String val)
Constructs a new BigInteger instance from the string
representation. |
|
BigInteger(String val,
int radix)
Constructs a new BigInteger instance from the string
representation. |
|
MathContext(String val)
Constructs a new MathContext from a string. |
|
| Uses of String in java.net |
|---|
| Fields in java.net declared as String | |
|---|---|
(package private) static String |
URI.allLegal
|
(package private) static String |
URLEncoder.digits
|
(package private) static String |
URIEncoderDecoder.digits
|
(package private) static String |
URIEncoderDecoder.encoding
|
(package private) String |
NegCacheElement.hostName
|
(package private) String |
SocketPermission.hostName
|
(package private) String |
InetAddress.hostName
|
(package private) String |
Inet6Address.ifname
|
(package private) String |
SocketPermission.ipString
|
protected String |
HttpURLConnection.method
The HTTP request method of this HttpURLConnection. |
(package private) static String |
URI.punct
|
(package private) static String |
URI.reserved
|
protected String |
HttpURLConnection.responseMessage
The HTTP response message which corresponds to the response code. |
(package private) static String |
URI.someLegal
|
(package private) static String |
URI.unreserved
|
| Fields in java.net with type parameters of type String | |
|---|---|
(package private) static Hashtable<String,Object> |
URLConnection.contentHandlers
Cache for storing content handler |
| Methods in java.net that return String | |
|---|---|
static String |
URLDecoder.decode(String s)
Deprecated. use URLDecoder.decode(String, String) instead. |
(package private) static String |
URIEncoderDecoder.decode(String s)
Decodes the string argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the UTF-8 encoding scheme. |
static String |
URLDecoder.decode(String s,
String enc)
Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the specified encoding
scheme. |
static String |
URLEncoder.encode(String s)
Deprecated. use URLEncoder.encode(String, String) instead. |
static String |
URLEncoder.encode(String s,
String enc)
Encodes the given string s in a x-www-form-urlencoded string
using the specified encoding scheme enc. |
(package private) static String |
URIEncoderDecoder.encodeOthers(String s)
Other characters, which are Unicode chars that are not US-ASCII, and are not ISO Control or are not ISO Space chars are not preserved. |
String |
SocketPermission.getActions()
Gets a comma-separated list of all actions allowed by this permission. |
String |
URI.getAuthority()
Gets the decoded authority part of this URI. |
String |
URL.getAuthority()
Gets the value of the authority part of this URL. |
String |
InetAddress.getCanonicalHostName()
Gets the fully qualified domain name for the host associated with this IP address. |
abstract String |
SecureCacheResponse.getCipherSuite()
Gets the cipher suite string on the connection which is originally used to retrieve the network resource. |
String |
URLConnection.getContentEncoding()
Gets the content encoding type specified by the response header field content-encoding or null if this field is not set. |
String |
URLConnection.getContentType()
Gets the MIME-type of the content specified by the response header field content-type or null if type is unknown. |
String |
FileNameMap.getContentTypeFor(String fileName)
Determines the MIME type for a file fileName of a URL. |
static String |
URLConnection.getDefaultRequestProperty(String field)
Deprecated. Use URLConnection.getRequestProperty(java.lang.String) |
String |
NetworkInterface.getDisplayName()
Gets the human-readable name associated with this network interface. |
String |
JarURLConnection.getEntryName()
Gets the name of the entry referenced by this JarURLConnection. |
(package private) static String |
NegativeCache.getFailedMessage(String hostName)
Returns the message of the negative cache if the entry has not yet expired. |
String |
URL.getFile()
Gets the value of the file part of this URL. |
String |
URI.getFragment()
Gets the decoded fragment part of this URI. |
String |
URLConnection.getHeaderField(int pos)
Gets the header value at the field position pos or null
if the header has fewer than pos fields. |
String |
URLConnection.getHeaderField(String key)
Gets the value of the header field specified by key or null if there is no field with this name. |
String |
URLConnection.getHeaderFieldKey(int posn)
Gets the name of the header field at the given position posn or
null if there are fewer than posn fields. |
String |
URI.getHost()
Gets the host part of this URI. |
String |
URL.getHost()
Gets the value of the host part of this URL. |
String |
Inet6Address.getHostAddress()
Gets the textual representation of this IP address. |
String |
Inet4Address.getHostAddress()
Returns a textual representation of this IP address. |
String |
InetAddress.getHostAddress()
Gets the textual representation of this IP address. |
String |
InetSocketAddress.getHostName()
Gets the hostname of this socket. |
String |
InetAddress.getHostName()
Gets the host name of this IP address. |
(package private) static String |
InetAddress.getHostNameImpl()
Query the IP stack for the host machine name. |
(package private) static String |
InetAddress.getHostNameInternal(String host)
|
String |
URISyntaxException.getInput()
Gets the initial string that contains an invalid syntax. |
String |
HttpRetryException.getLocation()
Gets the location value. |
String |
URISyntaxException.getMessage()
Gets a description of the exception, including the reason, the string that caused the syntax error and the position of the syntax error if available. |
String |
NetworkInterface.getName()
Gets the name associated with this network interface. |
String |
URI.getPath()
Gets the decoded path part of this URI. |
String |
URL.getPath()
Gets the value of the path part of this URL. |
String |
URL.getProtocol()
Gets the protocol of this URL. |
String |
URI.getQuery()
Gets the decoded query part of this URI. |
String |
URL.getQuery()
Gets the value of the query part of this URL. |
String |
URI.getRawAuthority()
Gets the authority part of this URI in raw form. |
String |
URI.getRawFragment()
Gets the fragment part of this URI in raw form. |
String |
URI.getRawPath()
Gets the path part of this URI in raw form. |
String |
URI.getRawQuery()
Gets the query part of this URI in raw form. |
String |
URI.getRawSchemeSpecificPart()
Gets the scheme-specific part of this URI in raw form. |
String |
URI.getRawUserInfo()
Gets the user-info part of this URI in raw form. |
String |
URISyntaxException.getReason()
Gets a description of the syntax error. |
String |
HttpRetryException.getReason()
Gets the detail message. |
String |
URL.getRef()
Gets the value of the reference part of this URL. |
protected String |
Authenticator.getRequestingHost()
Returns the host name of the connection that requests authentication or null if unknown. |
protected String |
Authenticator.getRequestingPrompt()
Returns the realm (prompt string) of the connection that requests authorization. |
protected String |
Authenticator.getRequestingProtocol()
Returns the protocol of the connection that requests authorization. |
protected String |
Authenticator.getRequestingScheme()
Returns the scheme of the connection that requests authorization, for example HTTP Basic Authentication. |
String |
HttpURLConnection.getRequestMethod()
Returns the request method which will be used to make the request to the remote HTTP server. |
String |
URLConnection.getRequestProperty(String field)
Gets the value of the request header property specified by {code field} or null if there is no field with this name. |
String |
HttpURLConnection.getResponseMessage()
Returns the response message returned by the remote HTTP server. |
String |
URI.getScheme()
Gets the scheme part of this URI. |
String |
URI.getSchemeSpecificPart()
Gets the decoded scheme-specific part of this URI. |
String |
URI.getUserInfo()
Gets the decoded user-info part of this URI. |
String |
URL.getUserInfo()
Gets the value of the user-info part of this URL. |
String |
PasswordAuthentication.getUserName()
Gets the username stored by this instance. |
static String |
URLConnection.guessContentTypeFromName(String url)
Determines the MIME-type of the given resource url by resolving
the filename extension with the internal FileNameMap. |
static String |
URLConnection.guessContentTypeFromStream(InputStream is)
Determines the MIME-type of the resource represented by the input stream is by reading its first few characters. |
(package private) String |
InetAddress.CacheElement.hostName()
|
(package private) static String |
InetAddress.inetNtoaImpl(int hipAddr)
Convert a binary address into a string containing an Ipv4 Internet Protocol dotted address. |
(package private) static String |
URIEncoderDecoder.quoteIllegal(String s,
String legal)
All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9') and legal characters are converted into their hexidecimal value prepended by '%'. |
String |
URI.toASCIIString()
Returns the textual string representation of this URI instance using the US-ASCII encoding. |
String |
URL.toExternalForm()
Returns a string containing a concise, human-readable representation of this URL. |
protected String |
URLStreamHandler.toExternalForm(URL url)
Returns the clear text representation of a given URL using HTTP format. |
String |
InetSocketAddress.toString()
Gets a string representation of this socket included the address and the port number. |
String |
Socket.toString()
Returns a String containing a concise, human-readable description of the
socket. |
String |
Proxy.toString()
Gets a textual representation of this Proxy instance. |
String |
URLConnection.toString()
Returns the string representation containing the name of this class and the URL. |
String |
ServerSocket.toString()
Returns a textual representation of this server socket including the address, port and the state. |
String |
Inet6Address.toString()
Returns a string containing a concise, human-readable description of this IP address. |
String |
SocketImpl.toString()
Returns a string containing a concise, human-readable description of the socket. |
String |
NetworkInterface.toString()
Gets a string containing a concise, human-readable description of this network interface. |
String |
URI.toString()
Returns the textual string representation of this URI instance. |
String |
InetAddress.toString()
Returns a string containing a concise, human-readable description of this IP address. |
String |
URL.toString()
Returns a string containing a concise, human-readable representation of this URL. |
| Methods in java.net that return types with arguments of type String | |
|---|---|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all cookies for a specific URI from the cookie cache. |
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all cookies for a specific URI from the cookie cache. |
Map<String,List<String>> |
URLConnection.getHeaderFields()
Gets an unchangeable map of the response-header fields and values. |
Map<String,List<String>> |
URLConnection.getHeaderFields()
Gets an unchangeable map of the response-header fields and values. |
abstract Map<String,List<String>> |
CacheResponse.getHeaders()
Returns an immutable Map which contains the response headers
information. |
abstract Map<String,List<String>> |
CacheResponse.getHeaders()
Returns an immutable Map which contains the response headers
information. |
Map<String,List<String>> |
URLConnection.getRequestProperties()
Gets an unchangeable map of general request properties used by this connection. |
Map<String,List<String>> |
URLConnection.getRequestProperties()
Gets an unchangeable map of general request properties used by this connection. |
| Methods in java.net with parameters of type String | |
|---|---|
void |
URLConnection.addRequestProperty(String field,
String newValue)
Adds the given property to the request header. |
protected abstract void |
SocketImpl.connect(String host,
int port)
Connects this socket to the specified remote host and port number. |
static URI |
URI.create(String uri)
Parses the given argument uri and creates an appropriate URI
instance. |
ContentHandler |
ContentHandlerFactory.createContentHandler(String contentType)
Creates a content handler to handle contentType. |
(package private) static InetAddress |
InetAddress.createHostNameFromIPAddress(String ipAddressString)
Creates an InetAddress based on the ipAddressString. |
static InetSocketAddress |
InetSocketAddress.createUnresolved(String host,
int port)
Creates an InetSocketAddress without trying to resolve the
hostname into an InetAddress. |
URLStreamHandler |
URLStreamHandlerFactory.createURLStreamHandler(String protocol)
Creates a new URLStreamHandler instance for the given protocol. |
static String |
URLDecoder.decode(String s)
Deprecated. use URLDecoder.decode(String, String) instead. |
(package private) static String |
URIEncoderDecoder.decode(String s)
Decodes the string argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the UTF-8 encoding scheme. |
static String |
URLDecoder.decode(String s,
String enc)
Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type using the specified encoding
scheme. |
protected Package |
URLClassLoader.definePackage(String packageName,
Manifest manifest,
URL url)
Defines a new package using the information extracted from the specified manifest. |
static String |
URLEncoder.encode(String s)
Deprecated. use URLEncoder.encode(String, String) instead. |
static String |
URLEncoder.encode(String s,
String enc)
Encodes the given string s in a x-www-form-urlencoded string
using the specified encoding scheme enc. |
(package private) static String |
URIEncoderDecoder.encodeOthers(String s)
Other characters, which are Unicode chars that are not US-ASCII, and are not ISO Control or are not ISO Space chars are not preserved. |
protected Class<?> |
URLClassLoader.findClass(String clsName)
Tries to locate and load the specified class using the known URLs. |
(package private) Class<?> |
URLClassLoader.findClassImpl(URL[] searchURLs,
String clsName)
|
(package private) Object |
URLClassLoader.findInExtensions(URL[] newExtensions,
String name,
int i,
Vector<URL> resources,
boolean url)
Returns an Object[] containing a Class, a URL, and a Vector of
URLs, two of which are null, according to the caller, which is
identified by the int type. |
(package private) Object |
URLClassLoader.findInIndex(int i,
String name,
Vector<URL> resources,
boolean url)
Returns an Object[] containing a class, a URL, and a vector of
URLs, two of which are null, according to the caller, which is
identified by the int type. |
URL |
URLClassLoader.findResource(String name)
Returns an URL referencing the specified resource or null if the
resource could not be found. |
(package private) URL |
URLClassLoader.findResourceImpl(URL[] searchList,
String resName)
Returns a URL among the given ones referencing the specified resource or null if no resource could be found. |
Enumeration<URL> |
URLClassLoader.findResources(String name)
Returns all known URLs which point to the specified resource. |
(package private) Vector<URL> |
URLClassLoader.findResources(URL[] searchURLs,
String name,
Vector<URL> result)
Returns a Vector of URLs among the given ones that contain the specified resource. |
(package private) static InetAddress.CacheElement |
InetAddress.Cache.get(String name)
|
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Gets the cached response according to the requesting URI, method and headers. |
(package private) static InetAddress[] |
InetAddress.getAliasesByNameImpl(String name)
Query the IP stack for aliases for the host. |
static InetAddress[] |
InetAddress.getAllByName(String host)
Gets all IP addresses associated with the given host identified
by name or IP address in dot-notation. |
static InetAddress |
InetAddress.getByAddress(String hostName,
byte[] ipAddress)
Returns the InetAddress corresponding to the array of bytes, and
the given hostname. |
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
int scope_id)
Constructs an IPv6 address according to the given host, addr and scope_id. |
static Inet6Address |
Inet6Address.getByAddress(String host,
byte[] addr,
NetworkInterface nif)
Gets an IPv6 address instance according to the given host,
addr and nif. |
(package private) static InetAddress |
InetAddress.getByAddressInternal(String hostName,
byte[] ipAddress,
int scope_id)
Returns the InetAddress corresponding to the array of bytes, and
the given hostname. |
static NetworkInterface |
NetworkInterface.getByName(String interfaceName)
Gets the specific network interface according to a given name. |
static InetAddress |
InetAddress.getByName(String host)
Returns the address of a host according to the given host string name host. |
String |
FileNameMap.getContentTypeFor(String fileName)
Determines the MIME type for a file fileName of a URL. |
static String |
URLConnection.getDefaultRequestProperty(String field)
Deprecated. Use URLConnection.getRequestProperty(java.lang.String) |
(package private) static String |
NegativeCache.getFailedMessage(String hostName)
Returns the message of the negative cache if the entry has not yet expired. |
String |
URLConnection.getHeaderField(String key)
Gets the value of the header field specified by key or null if there is no field with this name. |
long |
URLConnection.getHeaderFieldDate(String field,
long defaultValue)
Gets the specified header value as a date in milliseconds since January 1, 1970 GMT. |
long |
HttpURLConnection.getHeaderFieldDate(String field,
long defaultValue)
Returns the date value in milliseconds since 01.01.1970, 00:00h
corresponding to the header field field. |
int |
URLConnection.getHeaderFieldInt(String field,
int defaultValue)
Gets the specified header value as a number. |
(package private) static InetAddress |
InetAddress.getHostByNameImpl(String name,
boolean preferIPv6Address)
Query the IP stack for the host address. |
(package private) static String |
InetAddress.getHostNameInternal(String host)
|
String |
URLConnection.getRequestProperty(String field)
Gets the value of the request header property specified by {code field} or null if there is no field with this name. |
static String |
URLConnection.guessContentTypeFromName(String url)
Determines the MIME-type of the given resource url by resolving
the filename extension with the internal FileNameMap. |
(package private) static int |
InetAddress.inetAddr(String host)
|
(package private) static int |
InetAddress.inetAddrImpl(String host)
Convert a string containing an IPv4 Internet Protocol dotted address into a binary address. |
protected Class<?> |
URLClassLoader.SubURLClassLoader.loadClass(String className,
boolean resolveClass)
Overrides the loadClass() of ClassLoader. |
(package private) static InetAddress |
InetAddress.lookupHostByName(String host)
|
protected void |
URLStreamHandler.parseURL(URL u,
String str,
int start,
int end)
Parses the clear text URL in str into a URL object. |
(package private) static void |
NegativeCache.put(String hostName,
String failedMessage)
Adds the host name and the corresponding name lookup fail message to the cache. |
(package private) static String |
URIEncoderDecoder.quoteIllegal(String s,
String legal)
All characters except letters ('a'..'z', 'A'..'Z') and numbers ('0'..'9') and legal characters are converted into their hexidecimal value prepended by '%'. |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(InetAddress rAddr,
int rPort,
String rProtocol,
String rPrompt,
String rScheme)
If the permission check of the security manager does not result in a security exception, this method invokes the methods of the registered authenticator to get the authentication info. |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String rHost,
InetAddress rAddr,
int rPort,
String rProtocol,
String rPrompt,
String rScheme)
If the permission check of the security manager does not result in a security exception, this method invokes the methods of the registered authenticator to get the authentication info. |
static PasswordAuthentication |
Authenticator.requestPasswordAuthentication(String rHost,
InetAddress rAddr,
int rPort,
String rProtocol,
String rPrompt,
String rScheme,
URL rURL,
Authenticator.RequestorType reqType)
If the permission check of the security manager does not result in a security exception, this method invokes the methods of the registered authenticator to get the authentication info. |
URI |
URI.resolve(String relative)
Creates a new URI instance by parsing the given string relative
and resolves the created URI against the URI represented by this
instance. |
protected void |
URL.set(String protocol,
String host,
int port,
String file,
String ref)
Sets the properties of this URL using the provided arguments. |
protected void |
URL.set(String protocol,
String host,
int port,
String authority,
String userInfo,
String path,
String query,
String ref)
Sets the properties of this URL using the provided arguments. |
static void |
URLConnection.setDefaultRequestProperty(String field,
String value)
Deprecated. Use URLConnection.setRequestProperty(java.lang.String, java.lang.String) of an existing URLConnection instance. |
void |
HttpURLConnection.setRequestMethod(String method)
Sets the request command which will be sent to the remote HTTP server. |
void |
URLConnection.setRequestProperty(String field,
String newValue)
Sets the value of the specified request header field. |
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String file,
String ref)
Deprecated. use setURL(URL, String String, int, String, String, String, String, String) instead. |
protected void |
URLStreamHandler.setURL(URL u,
String protocol,
String host,
int port,
String authority,
String userInfo,
String file,
String query,
String ref)
Sets the fields of the URL u to the values of the supplied
arguments. |
(package private) static void |
URIEncoderDecoder.validate(String s,
String legal)
Validate a string by checking if it contains any characters other than: 1. |
(package private) static void |
URIEncoderDecoder.validateSimple(String s,
String legal)
|
static Proxy.Type |
Proxy.Type.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Authenticator.RequestorType |
Authenticator.RequestorType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Method parameters in java.net with type arguments of type String | |
|---|---|
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all cookies for a specific URI from the cookie cache. |
abstract Map<String,List<String>> |
CookieHandler.get(URI uri,
Map<String,List<String>> requestHeaders)
Gets all cookies for a specific URI from the cookie cache. |
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Gets the cached response according to the requesting URI, method and headers. |
abstract CacheResponse |
ResponseCache.get(URI uri,
String rqstMethod,
Map<String,List<String>> rqstHeaders)
Gets the cached response according to the requesting URI, method and headers. |
abstract void |
CookieHandler.put(URI uri,
Map<String,List<String>> responseHeaders)
Sets all cookies of a specific URI in the responseHeaders into
the cookie cache. |
abstract void |
CookieHandler.put(URI uri,
Map<String,List<String>> responseHeaders)
Sets all cookies of a specific URI in the responseHeaders into
the cookie cache. |
| Constructors in java.net with parameters of type String | |
|---|---|
BindException(String detailMessage)
Constructs a new instance with its walkback and message filled in. |
|
ConnectException(String detailMessage)
This implementation does nothing. |
|
HttpRetryException(String detail,
int code)
Creates a new HttpRetryException instance with the specified
response code and the given detail message. |
|
HttpRetryException(String detail,
int code,
String location)
Creates a new HttpRetryException instance with the specified
response code, the given detail message and the value of the location
field from the response header. |
|
Inet4Address(byte[] address,
String name)
|
|
Inet6Address(byte[] address,
String name)
|
|
Inet6Address(byte[] address,
String name,
int scope_id)
Constructs an InetAddress representing the address and
name and scope_id. |
|
InetAddress(byte[] address,
String hostName)
Constructs an InetAddress, representing the address and
hostName. |
|
InetSocketAddress(String host,
int port)
Creates a socket endpoint with the given port number port and the
hostname host. |
|
InetSocketAddress(String host,
int port,
boolean needResolved)
|
|
MalformedURLException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in. |
|
NegCacheElement(String hostName)
Constructor used to set the hostname for the entry for which the lookup failed. |
|
NetPermission(String name)
Creates an instance of this class with the given name. |
|
NetPermission(String name,
String actions)
Creates an instance of this class with the given name and an action list. |
|
NetworkInterface(String name,
String displayName,
InetAddress[] addresses,
int interfaceIndex)
This constructor is used by the native method in order to construct the NetworkInterface objects in the array that it returns. |
|
NoRouteToHostException(String detailMessage)
Constructs a new instance of this exception with its walkback and message filled in. |
|
PasswordAuthentication(String userName,
char[] password)
Creates an instance of a password authentication with a specified username and password. |
|
PortUnreachableException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in. |
|
ProtocolException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in. |
|
Socket(String dstName,
int dstPort)
Creates a new streaming socket connected to the target host specified by the parameters dstName and dstPort. |
|
Socket(String hostName,
int port,
boolean streaming)
Deprecated. Use Socket(String, int) instead of this for streaming
sockets or an appropriate constructor of DatagramSocket for UDP transport. |
|
Socket(String dstName,
int dstPort,
InetAddress localAddress,
int localPort)
Creates a new streaming socket connected to the target host specified by the parameters dstName and dstPort. |
|
SocketException(String detailMessage)
Constructs a new SocketException instance with its walkback and
message filled in. |
|
SocketPermission(String host,
String action)
Constructs a new SocketPermission instance. |
|
SocketTimeoutException(String detailMessage)
Creates a new SocketTimeoutException instance with its walkback
and message filled in. |
|
UnknownHostException(String detailMessage)
Constructs a new UnknownHostException instance with its walkback
and message filled in. |
|
UnknownServiceException(String detailMessage)
Constructs a new UnknownServiceException instance with its
walkback and message filled in. |
|
URI(String uri)
Creates a new URI instance according to the given string uri. |
|
URI(String scheme,
String ssp,
String frag)
Creates a new URI instance using the given arguments. |
|
URI(String scheme,
String userinfo,
String host,
int port,
String path,
String query,
String fragment)
Creates a new URI instance using the given arguments. |
|
URI(String scheme,
String host,
String path,
String fragment)
Creates a new URI instance using the given arguments. |
|
URI(String scheme,
String authority,
String path,
String query,
String fragment)
Creates a new URI instance using the given arguments. |
|
URISyntaxException(String input,
String reason)
Constructs a new URISyntaxException instance containing the
string that caused the exception and a description of the problem. |
|
URISyntaxException(String input,
String reason,
int index)
Constructs a new URISyntaxException instance containing the
string that caused the exception, a description of the problem and the
index at which the error occurred. |
|
URL(String spec)
Creates a new URL instance by parsing the string spec. |
|
URL(String protocol,
String host,
int port,
String file)
Creates a new URL instance using the given arguments. |
|
URL(String protocol,
String host,
int port,
String file,
URLStreamHandler handler)
Creates a new URL instance using the given arguments. |
|
URL(String protocol,
String host,
String file)
Creates a new URL instance using the given arguments. |
|
URL(URL context,
String spec)
Creates a new URL to the specified resource spec. |
|
URL(URL context,
String spec,
URLStreamHandler handler)
Creates a new URL to the specified resource spec. |
|
| Uses of String in java.nio |
|---|
| Methods in java.nio that return String | |
|---|---|
String |
ShortBuffer.toString()
Returns a string representing the state of this short buffer. |
String |
ByteBuffer.toString()
Returns a string representing the state of this byte buffer. |
String |
ByteOrder.toString()
Returns a string that describes this object. |
String |
FloatBuffer.toString()
Returns a string representing the state of this float buffer. |
String |
LongBuffer.toString()
Returns a string representing the state of this long buffer. |
String |
CharArrayBuffer.toString()
|
String |
DoubleBuffer.toString()
Returns a string representing the state of this double buffer. |
String |
IntBuffer.toString()
Returns a string represents of the state of this int buffer. |
String |
CharBuffer.toString()
Returns a string representing the current remaining chars of this buffer. |
| Methods in java.nio with parameters of type String | |
|---|---|
CharBuffer |
CharBuffer.put(String str)
Writes all chars of the given string to the current position of this buffer, and increases the position by the length of string. |
CharBuffer |
CharSequenceAdapter.put(String src,
int start,
int end)
|
CharBuffer |
ReadOnlyCharArrayBuffer.put(String src,
int start,
int end)
|
CharBuffer |
CharBuffer.put(String str,
int start,
int end)
Writes chars of the given string to the current position of this buffer, and increases the position by the number of chars written. |
| Uses of String in java.nio.channels |
|---|
| Methods in java.nio.channels that return String | |
|---|---|
String |
FileLock.toString()
Returns a string that shows the details of the lock suitable for display to an end user. |
String |
FileChannel.MapMode.toString()
Returns a string version of the mapping mode. |
| Methods in java.nio.channels with parameters of type String | |
|---|---|
static Reader |
Channels.newReader(ReadableByteChannel channel,
String charsetName)
Returns a reader that decodes bytes from a channel. |
static Writer |
Channels.newWriter(WritableByteChannel channel,
String charsetName)
Returns a writer that encodes characters with the specified encoder and sends the bytes to the specified channel. |
| Uses of String in java.nio.charset |
|---|
| Methods in java.nio.charset that return String | |
|---|---|
String |
Charset.displayName()
Gets the name of this charset for the default locale. |
String |
Charset.displayName(Locale l)
Gets the name of this charset for the specified locale. |
String |
IllegalCharsetNameException.getCharsetName()
Gets the encountered illegal charset name. |
String |
UnsupportedCharsetException.getCharsetName()
Gets the encountered unsupported charset name. |
String |
MalformedInputException.getMessage()
Gets a message describing this exception. |
String |
UnmappableCharacterException.getMessage()
Gets a message describing this exception. |
String |
Charset.name()
Gets the canonical name of this charset. |
String |
CharsetDecoder.replacement()
Gets the replacement string, which is never null or empty. |
String |
Charset.toString()
Gets a string representation of this charset. |
String |
CodingErrorAction.toString()
Returns a text description of this action indication. |
String |
CoderResult.toString()
Returns a text description of this result. |
| Methods in java.nio.charset that return types with arguments of type String | |
|---|---|
Set<String> |
Charset.aliases()
Gets the set of this charset's aliases. |
static SortedMap<String,Charset> |
Charset.availableCharsets()
Gets a map of all available charsets supported by the runtime. |
static Comparator<String> |
Charset.IgnoreCaseComparator.getInstance()
|
| Methods in java.nio.charset with parameters of type String | |
|---|---|
int |
Charset.IgnoreCaseComparator.compare(String s1,
String s2)
|
ByteBuffer |
Charset.encode(String s)
Encodes a string and outputs to a byte buffer that is to be returned. |
static Charset |
Charset.forName(String charsetName)
Gets a Charset instance for the specified charset name. |
protected void |
CharsetDecoder.implReplaceWith(String newReplacement)
Notifies that this decoder's replacement has been changed. |
static boolean |
Charset.isSupported(String charsetName)
Determines whether the specified charset is supported by this runtime. |
CharsetDecoder |
CharsetDecoder.replaceWith(String newReplacement)
Sets the new replacement string. |
| Constructors in java.nio.charset with parameters of type String | |
|---|---|
Charset(String canonicalName,
String[] aliases)
Constructs a Charset object. |
|
Charset(String canonicalName,
String[] aliases)
Constructs a Charset object. |
|
IllegalCharsetNameException(String charset)
Constructs a new IllegalCharsetNameException with the supplied
charset name. |
|
UnsupportedCharsetException(String charset)
Constructs a new UnsupportedCharsetException with the supplied charset name. |
|
| Uses of String in java.nio.charset.spi |
|---|
| Methods in java.nio.charset.spi with parameters of type String | |
|---|---|
abstract Charset |
CharsetProvider.charsetForName(String charsetName)
Returns the named charset. |
| Uses of String in java.security |
|---|
| Methods in java.security that return String | |
|---|---|
abstract String |
KeyStoreSpi.engineGetCertificateAlias(Certificate cert)
Returns the alias associated with the first entry whose certificate matches the specified certificate. |
protected abstract String |
AlgorithmParametersSpi.engineToString()
Returns a string containing a concise, human-readable description of this AlgorithmParametersSpi. |
String |
UnresolvedPermission.getActions()
Returns an empty string since there are no actions allowed for UnresolvedPermission. |
String |
AllPermission.getActions()
Returns the actions associated with this AllPermission. |
abstract String |
Permission.getActions()
Returns a comma separated string identifying the actions associated with this permission. |
String |
BasicPermission.getActions()
Returns the actions associated with this permission. |
String |
KeyFactory.getAlgorithm()
Returns the name of the algorithm associated with this KeyFactory
. |
String |
Key.getAlgorithm()
Returns the name of the algorithm of this key. |
String |
Provider.Service.getAlgorithm()
Returns the name of the algorithm implemented by this Service
. |
String |
MessageDigest.getAlgorithm()
Returns the name of the algorithm of this MessageDigest. |
String |
SecureRandom.getAlgorithm()
Returns the name of the algorithm of this SecureRandom. |
String |
AlgorithmParameters.getAlgorithm()
Returns the name of the algorithm. |
String |
AlgorithmParameterGenerator.getAlgorithm()
Returns the name of the algorithm. |
String |
SignedObject.getAlgorithm()
Returns the name of the algorithm of this SignedObject. |
String |
KeyPairGenerator.getAlgorithm()
Returns the name of the algorithm of this KeyPairGenerator. |
String |
Signature.getAlgorithm()
Returns the name of the algorithm of this Signature. |
static String |
Security.getAlgorithmProperty(String algName,
String propName)
Deprecated. Use AlgorithmParameters and KeyFactory
instead. |
String |
Provider.Service.getAttribute(String name)
Returns the value of the attribute with the specified name. |
String |
KeyStore.getCertificateAlias(Certificate cert)
Returns the alias associated with the first entry whose certificate matches the specified certificate. |
String |
Provider.Service.getClassName()
Returns the name of the class implementing this Service. |
static String |
KeyStore.getDefaultType()
Returns the default type for KeyStore instances. |
String |
Key.getFormat()
Returns the name of the format used to encode this key, or null
if it can not be encoded. |
String |
Certificate.getFormat()
Deprecated. Returns a string identifying the format of this certificate. |
String |
Provider.getInfo()
Returns a description of the services being provided. |
String |
Identity.getInfo()
Deprecated. Returns the information string of this Identity. |
String |
Provider.getName()
Returns the name of this provider. |
String |
Identity.getName()
Deprecated. Returns the name of this Identity. |
String |
Permission.getName()
Returns the name of this permission. |
String |
Principal.getName()
Returns the name of this Principal. |
static String |
Security.getProperty(String key)
Returns the value of the security property named by the argument. |
String |
Provider.Service.getType()
Returns the type of this Service. |
String |
KeyStore.getType()
Returns the type of this KeyStore. |
String |
UnresolvedPermission.getUnresolvedActions()
Returns the actions of the permission this UnresolvedPermission
is resolved to. |
String |
UnresolvedPermission.getUnresolvedName()
Returns the name of the permission this UnresolvedPermission is
resolved to. |
String |
UnresolvedPermission.getUnresolvedType()
Returns the fully qualified class name of the permission this UnresolvedPermission is resolved to. |
String |
DigestInputStream.toString()
Returns a string containing a concise, human-readable description of this DigestInputStream including the digest. |
String |
UnresolvedPermission.toString()
Returns a string containing a concise, human-readable description of this UnresolvedPermission including its target name and its target
actions. |
String |
Provider.toString()
Returns a string containing a concise, human-readable description of this Provider including its name and its version. |
String |
Provider.Service.toString()
Returns a string containing a concise, human-readable description of this Service. |
String |
DigestOutputStream.toString()
Returns a string containing a concise, human-readable description of this DigestOutputStream including the digest. |
String |
Signer.toString()
Deprecated. Returns a string containing a concise, human-readable description of this Signer including its name and its scope if present. |
String |
Identity.toString()
Deprecated. Returns a string containing a concise, human-readable description of the this Identity including its name and its scope. |
String |
KeyStore.PrivateKeyEntry.toString()
Returns a string containing a concise, human-readable description of this PrivateKeyEntry. |
String |
KeyStore.SecretKeyEntry.toString()
Returns a string containing a concise, human-readable description of this SecretKeyEntry. |
String |
KeyStore.TrustedCertificateEntry.toString()
Returns a string containing a concise, human-readable description of this TrustedCertificateEntry. |
String |
IdentityScope.toString()
Deprecated. Returns a string containing a concise, human-readable description of this IdentityScope. |
String |
MessageDigest.toString()
Returns a string containing a concise, human-readable description of this MessageDigest including the name of its algorithm. |
String |
Permission.toString()
Returns a string containing a concise, human-readable description of the this Permission including its name and its actions. |
String |
ProtectionDomain.toString()
Returns a string containing a concise, human-readable description of the this ProtectionDomain. |
String |
PermissionCollection.toString()
Returns a string containing a concise, human-readable description of this PermissionCollection. |
String |
AlgorithmParameters.toString()
Returns a string containing a concise, human-readable description of this AlgorithmParameters. |
String |
CodeSigner.toString()
Returns a string containing a concise, human-readable description of the this CodeSigner including its first certificate and its time
stamp, if present. |
String |
Timestamp.toString()
Returns a string containing a concise, human-readable description of this Timestamp. |
String |
Signature.toString()
Returns a string containing a concise, human-readable description of this Signature including its algorithm and its state. |
String |
PrivilegedActionException.toString()
Returns a string containing a concise, human-readable description of this PrivilegedActionException. |
String |
CodeSource.toString()
Returns a string containing a concise, human-readable description of the this CodeSource including its location, its certificates and its
signers. |
String |
Principal.toString()
Returns a string containing a concise, human-readable description of this Principal. |
String |
Identity.toString(boolean detailed)
Deprecated. Returns a string containing a concise, human-readable description of the this Identity. |
String |
Certificate.toString(boolean detailed)
Deprecated. Returns a string containing a concise, human-readable description of the this Certificate. |
| Methods in java.security that return types with arguments of type String | |
|---|---|
Enumeration<String> |
KeyStore.aliases()
Returns an Enumeration over all alias names stored in this
KeyStore. |
abstract Enumeration<String> |
KeyStoreSpi.engineAliases()
Returns an Enumeration over all alias names stored in this
KeyStoreSpi. |
static Set<String> |
Security.getAlgorithms(String serviceName)
Returns a Set of all registered algorithms for the specified
cryptographic service. |
(package private) Iterator<String> |
Provider.Service.getAliases()
|
| Methods in java.security with parameters of type String | |
|---|---|
(package private) void |
Provider.Service.addAlias(String alias)
Adds an alias. |
boolean |
KeyStore.containsAlias(String alias)
Indicates whether the given alias is present in this KeyStore. |
protected Class<?> |
SecureClassLoader.defineClass(String name,
byte[] b,
int off,
int len,
CodeSource cs)
Constructs a new class from an array of bytes containing a class definition in class file format with an optional CodeSource. |
protected Class<?> |
SecureClassLoader.defineClass(String name,
ByteBuffer b,
CodeSource cs)
Constructs a new class from an array of bytes containing a class definition in class file format with an optional CodeSource. |
void |
KeyStore.deleteEntry(String alias)
Deletes the entry identified with the given alias from this KeyStore. |
abstract boolean |
KeyStoreSpi.engineContainsAlias(String alias)
Indicates whether the given alias is present in this KeyStoreSpi. |
abstract void |
KeyStoreSpi.engineDeleteEntry(String alias)
Deletes the entry identified with the given alias from this KeyStoreSpi. |
boolean |
KeyStoreSpi.engineEntryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Indicates whether the entry for the given alias is assignable to the provided Class. |
abstract Certificate |
KeyStoreSpi.engineGetCertificate(String alias)
Returns the trusted certificate for the entry with the given alias. |
abstract Certificate[] |
KeyStoreSpi.engineGetCertificateChain(String alias)
Returns the certificate chain for the entry with the given alias. |
abstract Date |
KeyStoreSpi.engineGetCreationDate(String alias)
Returns the creation date of the entry with the given alias. |
protected abstract byte[] |
AlgorithmParametersSpi.engineGetEncoded(String format)
Returns the parameters in the specified encoding format. |
KeyStore.Entry |
KeyStoreSpi.engineGetEntry(String alias,
KeyStore.ProtectionParameter protParam)
Returns the Entry with the given alias, using the specified
ProtectionParameter. |
abstract Key |
KeyStoreSpi.engineGetKey(String alias,
char[] password)
Returns the key with the given alias, using the password to recover the key from the store. |
protected abstract Object |
SignatureSpi.engineGetParameter(String param)
Deprecated. There is no generally accepted parameter naming convention. |
protected abstract void |
AlgorithmParametersSpi.engineInit(byte[] params,
String format)
Initializes this AlgorithmParametersSpi with the specified
byte[] using the specified decoding format. |
abstract boolean |
KeyStoreSpi.engineIsCertificateEntry(String alias)
Indicates whether the specified alias is associated with a KeyStore.TrustedCertificateEntry. |
abstract boolean |
KeyStoreSpi.engineIsKeyEntry(String alias)
Indicates whether the specified alias is associated with either a KeyStore.PrivateKeyEntry or a KeyStore.SecretKeyEntry. |
abstract void |
KeyStoreSpi.engineSetCertificateEntry(String alias,
Certificate cert)
Associates the given alias with a certificate. |
void |
KeyStoreSpi.engineSetEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter protParam)
Stores the given Entry in this KeyStoreSpi and associates
the entry with the given alias. |
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Associates the given alias with a key and a certificate chain. |
abstract void |
KeyStoreSpi.engineSetKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Associates the given alias with the key, password and certificate chain. |
protected abstract void |
SignatureSpi.engineSetParameter(String param,
Object value)
Deprecated. Use SignatureSpi.engineSetParameter(AlgorithmParameterSpec) |
boolean |
KeyStore.entryInstanceOf(String alias,
Class<? extends KeyStore.Entry> entryClass)
Indicates whether the entry for the given alias is assignable to the provided Class. |
static String |
Security.getAlgorithmProperty(String algName,
String propName)
Deprecated. Use AlgorithmParameters and KeyFactory
instead. |
static Set<String> |
Security.getAlgorithms(String serviceName)
Returns a Set of all registered algorithms for the specified
cryptographic service. |
String |
Provider.Service.getAttribute(String name)
Returns the value of the attribute with the specified name. |
Certificate |
KeyStore.getCertificate(String alias)
Returns the trusted certificate for the entry with the given alias. |
Certificate[] |
KeyStore.getCertificateChain(String alias)
Returns the certificate chain for the entry with the given alias. |
Date |
KeyStore.getCreationDate(String alias)
Returns the creation date of the entry with the given alias. |
byte[] |
AlgorithmParameters.getEncoded(String format)
Returns this AlgorithmParameters in the specified encoding
format. |
KeyStore.Entry |
KeyStore.getEntry(String alias,
KeyStore.ProtectionParameter param)
Returns the Entry with the given alias, using the specified
ProtectionParameter. |
abstract Identity |
IdentityScope.getIdentity(String name)
Deprecated. Returns the Identity with the specified name or null if
no Identity with the specified name is present in this scope. |
static KeyFactory |
KeyFactory.getInstance(String algorithm)
Returns a new instance of KeyFactory that utilizes the specified
algorithm. |
static KeyStore |
KeyStore.getInstance(String type)
Returns a new instance of KeyStore with the specified type. |
static MessageDigest |
MessageDigest.getInstance(String algorithm)
Returns a new instance of MessageDigest that utilizes the
specified algorithm. |
static SecureRandom |
SecureRandom.getInstance(String algorithm)
Returns a new instance of SecureRandom that utilizes the
specified algorithm. |
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm)
Returns a new instance of AlgorithmParameters for the specified
algorithm. |
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm)
Returns a new instance of AlgorithmParameterGenerator for the
specified algorithm. |
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm)
Returns a new instance of KeyPairGenerator that utilizes the
specified algorithm. |
static Signature |
Signature.getInstance(String algorithm)
Returns a new instance of Signature that utilizes the specified
algorithm. |
static KeyFactory |
KeyFactory.getInstance(String algorithm,
Provider provider)
Returns a new instance of KeyFactory that utilizes the specified
algorithm from the specified provider. |
static KeyStore |
KeyStore.getInstance(String type,
Provider provider)
Returns a new instance of KeyStore from the specified provider
with the given type. |
static MessageDigest |
MessageDigest.getInstance(String algorithm,
Provider provider)
Returns a new instance of MessageDigest that utilizes the
specified algorithm from the specified provider. |
static SecureRandom |
SecureRandom.getInstance(String algorithm,
Provider provider)
Returns a new instance of SecureRandom that utilizes the
specified algorithm from the specified provider. |
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
Provider provider)
Returns a new instance of AlgorithmParameters from the specified
provider for the specified algorithm. |
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
Provider provider)
Returns a new instance of AlgorithmParameterGenerator from the
specified provider for the specified algorithm. |
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
Provider provider)
Returns a new instance of KeyPairGenerator that utilizes the
specified algorithm from the specified provider. |
static Signature |
Signature.getInstance(String algorithm,
Provider provider)
Returns a new instance of Signature that utilizes the specified
algorithm from the specified provider. |
static KeyFactory |
KeyFactory.getInstance(String algorithm,
String provider)
Returns a new instance of KeyFactory that utilizes the specified
algorithm from the specified provider. |
static KeyStore |
KeyStore.getInstance(String type,
String provider)
Returns a new instance of KeyStore from the specified provider
with the given type. |
static MessageDigest |
MessageDigest.getInstance(String algorithm,
String provider)
Returns a new instance of MessageDigest that utilizes the
specified algorithm from the specified provider. |
static SecureRandom |
SecureRandom.getInstance(String algorithm,
String provider)
Returns a new instance of SecureRandom that utilizes the
specified algorithm from the specified provider. |
static AlgorithmParameters |
AlgorithmParameters.getInstance(String algorithm,
String provider)
Returns a new instance of AlgorithmParameters from the specified
provider for the specified algorithm. |
static AlgorithmParameterGenerator |
AlgorithmParameterGenerator.getInstance(String algorithm,
String provider)
Returns a new instance of AlgorithmParameterGenerator from the
specified provider for the specified algorithm. |
static KeyPairGenerator |
KeyPairGenerator.getInstance(String algorithm,
String provider)
Returns a new instance of KeyPairGenerator that utilizes the
specified algorithm from the specified provider. |
static Signature |
Signature.getInstance(String algorithm,
String provider)
Returns a new instance of Signature that utilizes the specified
algorithm from the specified provider. |
Key |
KeyStore.getKey(String alias,
char[] password)
Returns the key with the given alias, using the password to recover the key from the store. |
Object |
Signature.getParameter(String param)
Deprecated. There is no generally accepted parameter naming convention. |
static String |
Security.getProperty(String key)
Returns the value of the security property named by the argument. |
abstract KeyStore.ProtectionParameter |
KeyStore.Builder.getProtectionParameter(String alias)
Returns the ProtectionParameter to be used when a Entry with the specified alias is requested. |
static Provider |
Security.getProvider(String name)
Returns the Provider with the specified name. |
static Provider[] |
Security.getProviders(String filter)
Returns the array of providers which meet the user supplied string filter. |
(package private) Provider.Service |
Provider.getService(String type)
Get the service of the specified type |
Provider.Service |
Provider.getService(String type,
String algorithm)
Returns the service with the specified type implementing the
specified algorithm, or null if no such implementation
exists. |
(package private) boolean |
Provider.implementsAlg(String serv,
String alg,
String attribute,
String val)
returns true if the provider implements the specified algorithm. |
void |
AlgorithmParameters.init(byte[] params,
String format)
Initializes this AlgorithmParameters with the specified byte[] using the specified decoding format. |
boolean |
KeyStore.isCertificateEntry(String alias)
Indicates whether the specified alias is associated with a KeyStore.TrustedCertificateEntry. |
boolean |
KeyStore.isKeyEntry(String alias)
Indicates whether the specified alias is associated with either a KeyStore.PrivateKeyEntry or a KeyStore.SecretKeyEntry. |
(package private) static boolean |
BasicPermission.nameImplies(String thisName,
String thatName)
Checks if thisName implies thatName,
accordingly to hierarchical property naming convention. |
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
File file,
KeyStore.ProtectionParameter protectionParameter)
Returns a new Builder that creates a new KeyStore
based on the provided arguments. |
static KeyStore.Builder |
KeyStore.Builder.newInstance(String type,
Provider provider,
KeyStore.ProtectionParameter protectionParameter)
Returns a new Builder that creates a new KeyStore
based on the provided arguments. |
(package private) void |
Provider.Service.putAttribute(String name,
String value)
Puts a new attribute mapping. |
static void |
Security.removeProvider(String name)
Removes the Provider with the specified name form the collection
of providers. |
void |
KeyStore.setCertificateEntry(String alias,
Certificate cert)
Associates the given alias with a certificate. |
void |
KeyStore.setEntry(String alias,
KeyStore.Entry entry,
KeyStore.ProtectionParameter param)
Stores the given Entry in this KeyStore and associates
the entry with the given alias. |
void |
Identity.setInfo(String info)
Deprecated. Sets an information string for this Identity. |
void |
KeyStore.setKeyEntry(String alias,
byte[] key,
Certificate[] chain)
Associates the given alias with a key and a certificate chain. |
void |
KeyStore.setKeyEntry(String alias,
Key key,
char[] password,
Certificate[] chain)
Associates the given alias with the key, password and certificate chain. |
void |
Signature.setParameter(String param,
Object value)
Deprecated. Use Signature.setParameter(AlgorithmParameterSpec) |
static void |
Security.setProperty(String key,
String datnum)
Sets the value of the specified security property. |
static KeyRep.Type |
KeyRep.Type.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Method parameters in java.security with type arguments of type String | |
|---|---|
static Provider[] |
Security.getProviders(Map<String,String> filter)
Returns the array of providers which meet the user supplied set of filters. |
static Provider[] |
Security.getProviders(Map<String,String> filter)
Returns the array of providers which meet the user supplied set of filters. |
| Constructors in java.security with parameters of type String | |
|---|---|
AccessControlException(String message)
Constructs a new instance of AccessControlException with the
given message. |
|
AccessControlException(String message,
Permission perm)
Constructs a new instance of AccessControlException with the
given message and the requested Permission which was not granted. |
|
AlgorithmParameterGenerator(AlgorithmParameterGeneratorSpi paramGenSpi,
Provider provider,
String algorithm)
Constructs a new instance of AlgorithmParameterGenerator with the
given arguments. |
|
AlgorithmParameters(AlgorithmParametersSpi algPramSpi,
Provider provider,
String algorithm)
Constructs a new instance of AlgorithmParameters with the given
arguments. |
|
AllPermission(String name,
String actions)
Constructs a new instance of AllPermission. |
|
AuthProvider(String name,
double version,
String info)
Constructs a new instance of AuthProvider with its name, version
and description. |
|
BasicPermission(String name)
Constructs a new instance of BasicPermission with the specified
name. |
|
BasicPermission(String name,
String action)
Constructs a new instance of BasicPermission with the specified
name. |
|
DigestException(String msg)
Constructs a new instance of DigestException with the
given message. |
|
DigestException(String message,
Throwable cause)
Constructs a new instance of DigestException with the
given message and the cause. |
|
GeneralSecurityException(String msg)
Constructs a new instance of GeneralSecurityException with the
given message. |
|
GeneralSecurityException(String message,
Throwable cause)
Constructs a new instance of GeneralSecurityException with the
given message and the cause. |
|
Identity(String name)
Deprecated. Creates a new instance of Identity with the specified name. |
|
Identity(String name,
IdentityScope scope)
Deprecated. Creates a new instance of Identity with the specified name and
the scope of this Identity. |
|
IdentityScope(String name)
Deprecated. Constructs a new instance of IdentityScope with the specified
name. |
|
IdentityScope(String name,
IdentityScope scope)
Deprecated. Constructs a new instance of IdentityScope with the specified
name and the specified scope. |
|
InvalidAlgorithmParameterException(String msg)
Constructs a new instance of InvalidAlgorithmParameterException
with the given message. |
|
InvalidAlgorithmParameterException(String message,
Throwable cause)
Constructs a new instance of InvalidAlgorithmParameterException with the
given message and the cause. |
|
InvalidKeyException(String msg)
Constructs a new instance of InvalidKeyException with the given
message. |
|
InvalidKeyException(String message,
Throwable cause)
Constructs a new instance of InvalidKeyException with the given
message and the cause. |
|
InvalidParameterException(String msg)
Constructs a new instance of InvalidParameterException with the
given message. |
|
KeyException(String msg)
Constructs a new instance of KeyException with the given message. |
|
KeyException(String message,
Throwable cause)
Constructs a new instance of KeyException with the given message
and the cause. |
|
KeyFactory(KeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Constructs a new instance of KeyFactory with the specified
arguments. |
|
KeyManagementException(String msg)
Constructs a new instance of KeyManagementException with the
given message. |
|
KeyManagementException(String message,
Throwable cause)
Constructs a new instance of KeyManagementException with the
given message and the cause. |
|
KeyPairGenerator(String algorithm)
Constructs a new instance of KeyPairGenerator with the name of
the algorithm to use. |
|
KeyRep(KeyRep.Type type,
String algorithm,
String format,
byte[] encoded)
Constructs a new instance of KeyRep with the specified arguments. |
|
KeyStore(KeyStoreSpi keyStoreSpi,
Provider provider,
String type)
Constructs a new instance of KeyStore with the given arguments. |
|
KeyStoreException(String msg)
Constructs a new instance of KeyStoreException with the
given message. |
|
KeyStoreException(String message,
Throwable cause)
Constructs a new instance of KeyStoreException with the
given message and the cause. |
|
MessageDigest(String algorithm)
Constructs a new instance of MessageDigest with the name of
the algorithm to use. |
|
NoSuchAlgorithmException(String msg)
Constructs a new instance of NoSuchAlgorithmException with the
given message. |
|
NoSuchAlgorithmException(String message,
Throwable cause)
Constructs a new instance of NoSuchAlgorithmException with the
given message and the cause. |
|
NoSuchProviderException(String msg)
Constructs a new instance of NoSuchProviderException with the
given message. |
|
Permission(String name)
Constructs a new instance of Permission with its name. |
|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Constructs a new instance of Service with the given
attributes. |
|
Provider(String name,
double version,
String info)
Constructs a new instance of Provider with its name, version and
description. |
|
ProviderException(String msg)
Constructs a new instance of ProviderException with the given
message. |
|
ProviderException(String message,
Throwable cause)
Constructs a new instance of ProviderException with the given
message and the cause. |
|
SecurityPermission(String name)
Constructs a new instance of SecurityPermission with the given
name. |
|
SecurityPermission(String name,
String action)
Constructs a new instance of SecurityPermission with the given
name and action list. |
|
Signature(String algorithm)
Constructs a new instance of Signature with the name of
the algorithm to use. |
|
SignatureException(String msg)
Constructs a new instance of SignatureException with the
given message. |
|
SignatureException(String message,
Throwable cause)
Constructs a new instance of SignatureException with the
given message and the cause. |
|
Signer(String name)
Deprecated. Constructs a new instance of Signer with the given name. |
|
Signer(String name,
IdentityScope scope)
Deprecated. Constructs a new instance of Signer with the given name in the
given scope. |
|
UnrecoverableEntryException(String msg)
Constructs a new instance of UnrecoverableEntryException with the
given message. |
|
UnrecoverableKeyException(String msg)
Constructs a new instance of UnrecoverableKeyException with the
given message. |
|
UnresolvedPermission(String type,
String name,
String actions,
Certificate[] certs)
Constructs a new instance of UnresolvedPermission. |
|
| Constructor parameters in java.security with type arguments of type String | |
|---|---|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Constructs a new instance of Service with the given
attributes. |
|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Constructs a new instance of Service with the given
attributes. |
|
Provider.Service(Provider provider,
String type,
String algorithm,
String className,
List<String> aliases,
Map<String,String> attributes)
Constructs a new instance of Service with the given
attributes. |
|
| Uses of String in java.security.acl |
|---|
| Methods in java.security.acl that return String | |
|---|---|
String |
Acl.getName()
Returns the name of this ACL instance. |
String |
AclEntry.toString()
Returns the string representation of this ACL entry. |
String |
Acl.toString()
Returns the string representation of this ACL. |
String |
Permission.toString()
Returns the string representation of this permission. |
| Methods in java.security.acl with parameters of type String | |
|---|---|
void |
Acl.setName(Principal caller,
String name)
Sets the name of this ACL instance. |
| Uses of String in java.security.cert |
|---|
| Methods in java.security.cert that return String | |
|---|---|
String |
CertPathValidator.getAlgorithm()
Returns the certification path algorithm name. |
String |
CertPathBuilder.getAlgorithm()
Returns the algorithm name of this instance. |
String |
TrustAnchor.getCAName()
Returns the name of the certificate authority as String in RFC
2253 format. |
static String |
CertPathValidator.getDefaultType()
Returns the default CertPathValidator type from the Security
Properties. |
static String |
CertPathBuilder.getDefaultType()
Returns the default CertPathBuilder type from the Security
Properties. |
static String |
CertStore.getDefaultType()
Returns the default CertStore type from the Security
Properties. |
String |
X509CertSelector.getIssuerAsString()
Do not use, use X509CertSelector.getIssuer() or
X509CertSelector.getIssuerAsBytes() instead. |
String |
PolicyQualifierInfo.getPolicyQualifierId()
Returns the identifier (an OID) of this policy qualifier info. |
String |
LDAPCertStoreParameters.getServerName()
Returns the LDAP server name. |
abstract String |
X509Certificate.getSigAlgName()
Returns the name of the algorithm for the certificate signature. |
abstract String |
X509CRL.getSigAlgName()
Returns the name of the signature algorithm. |
abstract String |
X509Certificate.getSigAlgOID()
Returns the OID of the signature algorithm from the certificate. |
abstract String |
X509CRL.getSigAlgOID()
Returns the OID of the signature algorithm. |
String |
PKIXParameters.getSigProvider()
Returns the name of the signature provider. |
String |
X509CertSelector.getSubjectAsString()
Do not use, use X509CertSelector.getSubject() or
X509CertSelector.getSubjectAsBytes() instead. |
String |
X509CertSelector.getSubjectPublicKeyAlgID()
Returns the criterion for the subject public key signature algorithm. |
String |
CertificateFactory.getType()
Returns the Certificate type. |
String |
CRL.getType()
Returns the type of this CRL. |
String |
Certificate.getType()
Returns the certificate type. |
String |
CertPath.getType()
Returns the type of Certificate in this instance. |
String |
CertStore.getType()
Returns the certificate store type. |
String |
PolicyNode.getValidPolicy()
Returns the valid policy of this node. |
String |
PolicyQualifierInfo.toString()
Returns a string representation of this PolicyQualifierInfo
instance. |
String |
X509CertSelector.toString()
Returns a string representation of this X509CertSelector
instance. |
String |
PKIXCertPathBuilderResult.toString()
Returns a string representation of this PKIXCertPathBuilderResult
instance. |
String |
LDAPCertStoreParameters.toString()
Returns the string representation of this LDAPCertStoreParameters
instance. |
String |
CollectionCertStoreParameters.toString()
Returns the string representation of this instance. |
String |
X509CRLSelector.toString()
Returns a string representation of this X509CRLSelector instance. |
abstract String |
X509CRLEntry.toString()
Returns a string representation of this instance. |
String |
PKIXParameters.toString()
Returns a string representation of this PKIXParameters instance. |
abstract String |
CRL.toString()
Returns the string representation of this instance. |
String |
PKIXCertPathValidatorResult.toString()
Returns a string representation for this PKIXCertPathValidatorResult instance. |
abstract String |
Certificate.toString()
Returns a string containing a concise, human-readable description of the certificate. |
String |
CertPath.toString()
Returns a String representation of this CertPath
instance. |
String |
TrustAnchor.toString()
Returns a string representation of this TrustAnchor instance. |
String |
PKIXBuilderParameters.toString()
Returns a string representation of this PKIXBuilderParameters
instance. |
| Methods in java.security.cert that return types with arguments of type String | |
|---|---|
Iterator<String> |
CertificateFactorySpi.engineGetCertPathEncodings()
Returns an Iterator over the supported CertPath encodings
(as Strings). |
Iterator<String> |
CertificateFactory.getCertPathEncodings()
Returns an Iterator over the supported CertPath encodings
(as Strings). |
Set<String> |
X509Extension.getCriticalExtensionOIDs()
Returns the set of OIDs of the extension(s) marked as CRITICAL, that this implementation manages. |
abstract Iterator<String> |
CertPath.getEncodings()
Returns an Iterator over the supported encodings for a
representation of the certificate path. |
Set<String> |
PolicyNode.getExpectedPolicies()
Returns the expected policies for the next certificate to be valid. |
Set<String> |
X509CertSelector.getExtendedKeyUsage()
Returns the criterion for the ExtendedKeyUsage extension. |
List<String> |
X509Certificate.getExtendedKeyUsage()
Returns a read-only list of OID strings representing the ExtKeyUsageSyntax field of the extended key usage extension. |
Set<String> |
PKIXParameters.getInitialPolicies()
Returns the list of policies (as OID strings) that would be acceptable for the purpose of certification path processing. |
Set<String> |
X509Extension.getNonCriticalExtensionOIDs()
Returns the set of OIDs of the extension(s) marked as NON-CRITICAL, that this implementation manages. |
Set<String> |
X509CertSelector.getPolicy()
Returns the criterion for the policy constraint. |
abstract Set<String> |
PKIXCertPathChecker.getSupportedExtensions()
Returns the list of extensions of X.509 certificates that this PKIXCertPathChecker is able to process. |
| Methods in java.security.cert with parameters of type String | |
|---|---|
void |
X509CRLSelector.addIssuerName(String iss_name)
Do not use:, use X509CRLSelector.addIssuer(X500Principal) or
X509CRLSelector.addIssuerName(byte[]) instead. |
void |
X509CertSelector.addPathToName(int type,
String name)
Adds a "pathToName" to the respective criterion. |
void |
X509CertSelector.addSubjectAlternativeName(int tag,
String name)
Adds a subject alternative name to the respective criterion. |
CertPath |
CertificateFactorySpi.engineGenerateCertPath(InputStream inStream,
String encoding)
Generates a CertPath from the provided InputStream in the specified encoding. |
CertPath |
CertificateFactory.generateCertPath(InputStream inStream,
String encoding)
Generates a CertPath (a certificate chain) from the provided
InputStream and the specified encoding scheme. |
abstract byte[] |
CertPath.getEncoded(String encoding)
Returns an encoding of the CertPath using the specified encoding. |
byte[] |
X509Extension.getExtensionValue(String oid)
Returns the extension value as DER-encoded OCTET string for the specified OID. |
static CertificateFactory |
CertificateFactory.getInstance(String type)
Creates a new CertificateFactory instance that provides the
requested certificate type. |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm)
Returns a new certification path validator for the specified algorithm. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm)
Creates a new CertPathBuilder instance with the specified
algorithm. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params)
Creates a new CertStore instance with the specified type and
initialized with the specified parameters. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
Provider provider)
Creates a new CertStore instance from the specified provider with
the specified type and initialized with the specified parameters. |
static CertStore |
CertStore.getInstance(String type,
CertStoreParameters params,
String provider)
Creates a new CertStore instance from the specified provider with
the specified type and initialized with the specified parameters. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
Provider provider)
Creates a new CertificateFactory instance from the specified
provider that provides the requested certificate type. |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
Provider provider)
Returns a new certification path validator for the specified algorithm from the specified provider. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
Provider provider)
Creates a new CertPathBuilder instance from the specified
provider providing the specified algorithm. |
static CertificateFactory |
CertificateFactory.getInstance(String type,
String provider)
Creates a new CertificateFactory instance from the specified
provider that provides the requested certificate type. |
static CertPathValidator |
CertPathValidator.getInstance(String algorithm,
String provider)
Returns a new certification path validator for the specified algorithm from the specified provider. |
static CertPathBuilder |
CertPathBuilder.getInstance(String algorithm,
String provider)
Creates a new CertPathBuilder instance from the specified
provider providing the specified algorithm. |
void |
X509CertSelector.setIssuer(String issuerName)
Do not use, use X509CertSelector.getIssuer() or
X509CertSelector.getIssuerAsBytes() instead. |
void |
PKIXParameters.setSigProvider(String sigProvider)
Sets the name of the preferred signature provider. |
void |
X509CertSelector.setSubject(String subjectDN)
Do not use, use X509CertSelector.setSubject(byte[]) or
X509CertSelector.setSubject(X500Principal) instead. |
void |
X509CertSelector.setSubjectPublicKeyAlgID(String oid)
Sets the criterion for the subject public key signature algorithm. |
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed with the given public key. |
abstract void |
X509CRL.verify(PublicKey key,
String sigProvider)
Verifies this CRL by verifying that this CRL was signed with the corresponding private key to the specified public key. |
| Method parameters in java.security.cert with type arguments of type String | |
|---|---|
abstract void |
PKIXCertPathChecker.check(Certificate cert,
Collection<String> unresolvedCritExts)
Checks the specified certificate and removes the processed critical extensions from the specified list of X.509 extension OIDs. |
void |
X509CertSelector.setExtendedKeyUsage(Set<String> keyUsage)
Sets the criterion for the ExtendedKeyUsage extension. |
void |
PKIXParameters.setInitialPolicies(Set<String> initialPolicies)
Sets the list of policies (as OID strings) that would be acceptable for the purpose of certification path processing. |
void |
X509CertSelector.setPolicy(Set<String> policies)
Sets the criterion for the policy constraint. |
| Constructors in java.security.cert with parameters of type String | |
|---|---|
Certificate.CertificateRep(String type,
byte[] data)
Creates a new CertificateRep instance with the specified
certificate type and encoded data. |
|
Certificate(String type)
Creates a new Certificate with the specified type. |
|
CertificateEncodingException(String msg)
Creates a new CertificateEncodingException with the specified
message. |
|
CertificateEncodingException(String message,
Throwable cause)
Creates a new CertificateEncodingException with the specified
message and cause. |
|
CertificateException(String msg)
Creates a new CertificateException with the specified message. |
|
CertificateException(String message,
Throwable cause)
Creates a new CertificateException with the specified message and
cause. |
|
CertificateExpiredException(String msg)
Creates a new CertificateExpiredException with the specified
message. |
|
CertificateFactory(CertificateFactorySpi certFacSpi,
Provider provider,
String type)
Creates a new CertificateFactory instance. |
|
CertificateNotYetValidException(String msg)
Creates a new CertificateNotYetValidException with the specified
message. |
|
CertificateParsingException(String msg)
Creates a new CertificateParsingException with the specified
message. |
|
CertificateParsingException(String message,
Throwable cause)
Creates a new CertificateParsingException with the specified
message and cause. |
|
CertPath.CertPathRep(String type,
byte[] data)
Creates a new CertPathRep instance with the specified type
and encoded data. |
|
CertPath(String type)
Creates a new CertPath instance for the specified certificate
type. |
|
CertPathBuilder(CertPathBuilderSpi builderSpi,
Provider provider,
String algorithm)
Creates a new CertPathBuilder. |
|
CertPathBuilderException(String msg)
Creates a new CertPathBuilderException with the specified
message. |
|
CertPathBuilderException(String msg,
Throwable cause)
Creates a new CertPathBuilderException with the specified message
and cause. |
|
CertPathValidator(CertPathValidatorSpi validatorSpi,
Provider provider,
String algorithm)
Creates a new CertPathValidator instance. |
|
CertPathValidatorException(String msg)
Creates a new CertPathValidatorException with the specified
message. |
|
CertPathValidatorException(String msg,
Throwable cause)
Creates a new CertPathValidatorException with the specified
message and cause. |
|
CertPathValidatorException(String msg,
Throwable cause,
CertPath certPath,
int index)
Creates a new CertPathValidatorException with the specified
message , cause, certification path and certificate index in the
certification path. |
|
CertStore(CertStoreSpi storeSpi,
Provider provider,
String type,
CertStoreParameters params)
Creates a new CertStore instance. |
|
CertStoreException(String msg)
Creates a new CertStoreException with the specified message. |
|
CertStoreException(String msg,
Throwable cause)
Creates a new CertStoreException with the specified message and
cause. |
|
CRL(String type)
Creates a new certificate revocation list of the specified type. |
|
CRLException(String msg)
Creates a new CRLException with the specified message. |
|
CRLException(String message,
Throwable cause)
Creates a new CRLException with the specified message and cause. |
|
LDAPCertStoreParameters(String serverName)
Creates a new LDAPCertStoreParameters instance with the specified
server name and default port 389. |
|
LDAPCertStoreParameters(String serverName,
int port)
Creates a new LDAPCertStoreParameters instance with the specified
server name and port. |
|
TrustAnchor(String caName,
PublicKey caPublicKey,
byte[] nameConstraints)
Creates a new TrustAnchor with the specified certificate
authority name, its public key and the specified name constraints. |
|
| Uses of String in java.security.spec |
|---|
| Methods in java.security.spec that return String | |
|---|---|
String |
MGF1ParameterSpec.getDigestAlgorithm()
Returns the name of the message digest algorithm. |
String |
PSSParameterSpec.getDigestAlgorithm()
Returns the name of the message digest algorithm. |
String |
PKCS8EncodedKeySpec.getFormat()
Returns the name of the encoding format of this encoded key specification. |
abstract String |
EncodedKeySpec.getFormat()
Returns the name of the encoding format of this encoded key specification. |
String |
X509EncodedKeySpec.getFormat()
Returns the name of the encoding format of this encoded key specification. |
String |
PSSParameterSpec.getMGFAlgorithm()
Returns the name of the mask generation function algorithm. |
String |
ECGenParameterSpec.getName()
Returns the name (standard or predefined) of the to-be-generated elliptic curve domain parameter. |
| Constructors in java.security.spec with parameters of type String | |
|---|---|
ECGenParameterSpec(String name)
Creates a new ECGenParameterSpec with the specified standard or
predefined name of the to-be-generated domain parameter. |
|
InvalidKeySpecException(String msg)
Creates a new InvalidKeySpecException with the specified message. |
|
InvalidKeySpecException(String message,
Throwable cause)
Creates a new InvalidKeySpecException with the specified message
and cause. |
|
InvalidParameterSpecException(String msg)
Creates a new InvalidParameterSpecException with the specified
message. |
|
MGF1ParameterSpec(String mdName)
Creates a new MGF1ParameterSpec with the specified message digest
algorithm name. |
|
PSSParameterSpec(String mdName,
String mgfName,
AlgorithmParameterSpec mgfSpec,
int saltLen,
int trailerField)
Creates a new PSSParameterSpec with the specified message digest
name, mask generation function name, mask generation function parameters,
salt length, and trailer field value. |
|
| Uses of String in java.sql |
|---|
| Fields in java.sql declared as String | |
|---|---|
String[] |
DriverPropertyInfo.choices
If the value member can be chosen from a set of possible values, they are contained here. |
String |
DriverPropertyInfo.description
A description of the property. |
String |
DriverPropertyInfo.name
The name of the property. |
String |
DriverPropertyInfo.value
The current value associated with this property. |
| Methods in java.sql that return String | |
|---|---|
String |
Ref.getBaseTypeName()
Gets the fully-qualified SQL name of the SQL structured type that this Ref references. |
String |
Array.getBaseTypeName()
Returns the SQL type name of the entries in this array's underlying SQL array. |
String |
Connection.getCatalog()
Gets this Connection object's current catalog name. |
String |
ResultSetMetaData.getCatalogName(int column)
Returns the title of an indexed column's catalog. |
String |
DatabaseMetaData.getCatalogSeparator()
Returns the separator that this database uses between a catalog name and table name. |
String |
DatabaseMetaData.getCatalogTerm()
Returns the term that the database vendor prefers term for "catalog". |
String |
ResultSetMetaData.getColumnClassName(int column)
Returns the fully-qualified type of the class that is produced when invoking ResultSet.getObject to recover this column's value. |
String |
ResultSetMetaData.getColumnLabel(int column)
Returns a recommended title for the indexed column, to be used when the title needs to be displayed. |
String |
ResultSetMetaData.getColumnName(int column)
Returns the title of the indexed column. |
String |
ResultSetMetaData.getColumnTypeName(int column)
Returns the type name of the indexed column. |
String |
ResultSet.getCursorName()
Gets the name of the SQL cursor of this ResultSet. |
String |
DatabaseMetaData.getDatabaseProductName()
Returns the name of the database software. |
String |
DatabaseMetaData.getDatabaseProductVersion()
Returns the version number of this database software. |
String |
DatabaseMetaData.getDriverName()
Returns the name of this JDBC driver. |
String |
DatabaseMetaData.getDriverVersion()
Returns the version number of this JDBC driver. |
String |
DatabaseMetaData.getExtraNameCharacters()
Returns a string of characters that may be used in unquoted identifier names. |
String |
DatabaseMetaData.getIdentifierQuoteString()
Returns the string used to quote SQL identifiers. |
String |
DatabaseMetaData.getNumericFunctions()
Returns a list of the math functions available with this database. |
String |
ParameterMetaData.getParameterClassName(int paramIndex)
Gets the fully-qualified name of the Java class which should be passed as a parameter to the method PreparedStatement.setObject. |
String |
ParameterMetaData.getParameterTypeName(int paramIndex)
Gets the database-specific type name of a specified parameter. |
String |
DatabaseMetaData.getProcedureTerm()
Returns the database vendor's preferred name for "procedure". |
String |
Savepoint.getSavepointName()
Returns the name for this savepoint. |
String |
ResultSetMetaData.getSchemaName(int column)
Returns the name of the indexed columns schema. |
String |
DatabaseMetaData.getSchemaTerm()
Returns the database vendor's preferred term for "schema". |
String |
DatabaseMetaData.getSearchStringEscape()
Returns the string that is used to escape wildcard characters. |
String |
DatabaseMetaData.getSQLKeywords()
Returns a list of all the SQL keywords that are NOT also SQL92 keywords for the database. |
String |
SQLException.getSQLState()
Retrieves the SQLState description string for this SQLException object. |
String |
Struct.getSQLTypeName()
Gets the SQL Type name of the SQL structured type that this Struct represents. |
String |
SQLData.getSQLTypeName()
Gets the SQL name of the User Defined Type (UDT) that this object represents. |
String |
ResultSet.getString(int columnIndex)
Gets the value of a column specified by column index as a String. |
String |
CallableStatement.getString(int parameterIndex)
Returns the indexed parameter's value as a String. |
String |
ResultSet.getString(String columnName)
Gets the value of a column specified by column name, as a String. |
String |
CallableStatement.getString(String parameterName)
Returns the named parameter's value as a string. |
String |
DatabaseMetaData.getStringFunctions()
Returns a list of string functions available with the database. |
String |
Clob.getSubString(long pos,
int length)
Gets a copy of a specified substring in this Clob. |
String |
DatabaseMetaData.getSystemFunctions()
Returns a list of system functions available with the database. |
String |
ResultSetMetaData.getTableName(int column)
Returns the title of the indexed columns table. |
String |
DatabaseMetaData.getTimeDateFunctions()
Returns a list of time and date functions available for the database. |
String |
DatabaseMetaData.getURL()
Returns the URL for this database. |
String |
DatabaseMetaData.getUserName()
Determine the user name as known by the database. |
String |
Connection.nativeSQL(String sql)
Returns a string representation of the input SQL statement sql expressed in the underlying system's native SQL
syntax. |
String |
SQLInput.readString()
Returns the next attribute in the stream in the form of a String. |
String |
Date.toString()
Produces a string representation of the date in SQL format |
String |
Time.toString()
Formats the Time as a String in JDBC escape format: hh:mm:ss. |
String |
Timestamp.toString()
Returns the timestamp formatted as a String in the JDBC Timestamp Escape format, which is "yyyy-mm-dd hh:mm:ss.nnnnnnnnn". |
| Methods in java.sql that return types with arguments of type String | |
|---|---|
Map<String,Class<?>> |
Connection.getTypeMap()
Returns the type mapping associated with this Connection object. |
| Methods in java.sql with parameters of type String | |
|---|---|
boolean |
Driver.acceptsURL(String url)
Returns whether the driver thinks that it can open a connection to the given URL. |
void |
Statement.addBatch(String sql)
Adds a specified SQL command to the list of commands for this Statement. |
Connection |
Driver.connect(String url,
Properties info)
Attempts to make a database connection to a data source specified by a supplied URL. |
boolean |
Statement.execute(String sql)
Executes a supplied SQL statement. |
boolean |
Statement.execute(String sql,
int autoGeneratedKeys)
Executes a supplied SQL statement. |
boolean |
Statement.execute(String sql,
int[] columnIndexes)
Executes the supplied SQL statement. |
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the supplied SQL statement. |
boolean |
Statement.execute(String sql,
String[] columnNames)
Executes the supplied SQL statement. |
ResultSet |
Statement.executeQuery(String sql)
Executes a supplied SQL statement. |
int |
Statement.executeUpdate(String sql)
Executes the supplied SQL statement. |
int |
Statement.executeUpdate(String sql,
int autoGeneratedKeys)
Executes the supplied SQL statement. |
int |
Statement.executeUpdate(String sql,
int[] columnIndexes)
Executes the supplied SQL statement. |
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the supplied SQL statement. |
int |
Statement.executeUpdate(String sql,
String[] columnNames)
Executes the supplied SQL statement. |
int |
ResultSet.findColumn(String columnName)
Gets the index number for a column in the ResultSet from the
provided column name. |
Array |
ResultSet.getArray(String colName)
Gets the value of a column specified by column name as a java.sql.Array. |
Array |
CallableStatement.getArray(String parameterName)
Gets the value of a specified JDBC ARRAY parameter as a java.sql.Array. |
InputStream |
ResultSet.getAsciiStream(String columnName)
Gets the value of a column specified by column name as an ASCII character stream. |
ResultSet |
DatabaseMetaData.getAttributes(String catalog,
String schemaPattern,
String typeNamePattern,
String attributeNamePattern)
Returns a ResultSet describing a subset of the attributes of a
specified SQL User Defined Type (UDT) for a specified schema and catalog. |
ResultSet |
DatabaseMetaData.getBestRowIdentifier(String catalog,
String schema,
String table,
int scope,
boolean nullable)
Returns a list of a table's optimal set of columns that uniquely identify the rows. |
BigDecimal |
ResultSet.getBigDecimal(String columnName)
Gets the value of a column specified by column name, as a java.math.BigDecimal. |
BigDecimal |
CallableStatement.getBigDecimal(String parameterName)
Returns a new BigDecimal representation of the JDBC NUMERIC parameter specified by the input name. |
BigDecimal |
ResultSet.getBigDecimal(String columnName,
int scale)
Deprecated. use ResultSet.getBigDecimal(int) or
ResultSet.getBigDecimal(String) |
InputStream |
ResultSet.getBinaryStream(String columnName)
Gets the value of a column specified by column name as a binary stream. |
Blob |
ResultSet.getBlob(String columnName)
Gets the value of a column specified by column name, as a java.sql.Blob object. |
Blob |
CallableStatement.getBlob(String parameterName)
Gets the value of a specified JDBC BLOB parameter as a java.sql.Blob. |
boolean |
ResultSet.getBoolean(String columnName)
Gets the value of a column specified by column name, as a boolean
. |
boolean |
CallableStatement.getBoolean(String parameterName)
Gets the value of a specified JDBC BIT parameter as a boolean. |
byte |
ResultSet.getByte(String columnName)
Gets the value of a column specified by column name as a byte. |
byte |
CallableStatement.getByte(String parameterName)
Gets the value of a specified JDBC TINYINT parameter as a Java
byte. |
byte[] |
ResultSet.getBytes(String columnName)
Gets the value of a column specified by column name as a byte array. |
byte[] |
CallableStatement.getBytes(String parameterName)
Returns a byte array representation of the named JDBC BINARY or
VARBINARY parameter. |
Reader |
ResultSet.getCharacterStream(String columnName)
Gets the value of a column specified by column name as a java.io.Reader object. |
Clob |
ResultSet.getClob(String colName)
Gets the value of a column specified by column name as a java.sql.Clob. |
Clob |
CallableStatement.getClob(String parameterName)
Gets the value of a specified JDBC CLOB parameter as a java.sql.Clob. |
ResultSet |
DatabaseMetaData.getColumnPrivileges(String catalog,
String schema,
String table,
String columnNamePattern)
Returns a description of access rights for a table's columns. |
ResultSet |
DatabaseMetaData.getColumns(String catalog,
String schemaPattern,
String tableNamePattern,
String columnNamePattern)
Returns a description of table columns available in a specified catalog. |
static Connection |
DriverManager.getConnection(String url)
Attempts to establish a connection to the given database URL. |
static Connection |
DriverManager.getConnection(String url,
Properties info)
Attempts to establish a connection to the given database URL. |
static Connection |
DriverManager.getConnection(String url,
String user,
String password)
Attempts to establish a connection to the given database URL. |
ResultSet |
DatabaseMetaData.getCrossReference(String primaryCatalog,
String primarySchema,
String primaryTable,
String foreignCatalog,
String foreignSchema,
String foreignTable)
Returns a list of foreign key columns in a given foreign key table that reference the primary key columns of a supplied primary key table. |
Date |
ResultSet.getDate(String columnName)
Gets the value of a column specified by column name as a java.sql.Date. |
Date |
CallableStatement.getDate(String parameterName)
Gets the value of the specified JDBC DATE parameter as a java.sql.Date. |
Date |
ResultSet.getDate(String columnName,
Calendar cal)
Gets the value of a column specified by column name, as a java.sql.Date object. |
Date |
CallableStatement.getDate(String parameterName,
Calendar cal)
Gets the value of the specified JDBC DATE parameter as a java.sql.Date, using the specified Calendar to construct the date. |
double |
ResultSet.getDouble(String columnName)
Gets the value of a column specified by column name as a double
value. |
double |
CallableStatement.getDouble(String parameterName)
Gets the value of the specified JDBC DOUBLE parameter as a
double. |
static Driver |
DriverManager.getDriver(String url)
Tries to find a driver that can interpret the supplied URL. |
ResultSet |
DatabaseMetaData.getExportedKeys(String catalog,
String schema,
String table)
Returns a list of the foreign key columns that reference the primary key columns of a specified table (the foreign keys exported by a table). |
float |
ResultSet.getFloat(String columnName)
Gets the value of a column specified by column name as a float
value. |
float |
CallableStatement.getFloat(String parameterName)
Gets the value of the specified JDBC FLOAT parameter as a Java
float. |
ResultSet |
DatabaseMetaData.getImportedKeys(String catalog,
String schema,
String table)
Returns a list columns in a table that are both primary keys and referenced by the table's foreign key columns (that is, the primary keys imported by a table). |
ResultSet |
DatabaseMetaData.getIndexInfo(String catalog,
String schema,
String table,
boolean unique,
boolean approximate)
Returns a list of indices and statistics for a specified table. |
int |
ResultSet.getInt(String columnName)
Gets the value of a column specified by column name, as an int
value. |
int |
CallableStatement.getInt(String parameterName)
Gets the value of the specified JDBC INTEGER parameter as an
int. |
long |
ResultSet.getLong(String columnName)
Gets the value of a column specified by column name, as a long
value. |
long |
CallableStatement.getLong(String parameterName)
Gets the value of the specified JDBC BIGINT parameter as a
long. |
Object |
ResultSet.getObject(String columnName)
Gets the value of a specified column as a Java Object. |
Object |
CallableStatement.getObject(String parameterName)
Gets the value of the specified parameter as an Object. |
Object |
ResultSet.getObject(String columnName,
Map<String,Class<?>> map)
Gets the value of a column specified by column name as a Java Object. |
Object |
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Gets the value of a specified parameter as an Object. |
ResultSet |
DatabaseMetaData.getPrimaryKeys(String catalog,
String schema,
String table)
Returns a list of the primary key columns of a specified table. |
ResultSet |
DatabaseMetaData.getProcedureColumns(String catalog,
String schemaPattern,
String procedureNamePattern,
String columnNamePattern)
Returns a list of parameter and result columns for the stored procedures belonging to a specified catalog. |
ResultSet |
DatabaseMetaData.getProcedures(String catalog,
String schemaPattern,
String procedureNamePattern)
Returns a list of the stored procedures available in a specified catalog. |
DriverPropertyInfo[] |
Driver.getPropertyInfo(String url,
Properties info)
Gets information about possible properties for this driver. |
Ref |
ResultSet.getRef(String colName)
Gets the value of a column specified by column name as a Java java.sql.Ref. |
Ref |
CallableStatement.getRef(String parameterName)
Gets the value of a specified SQL REF(<structured type>)
parameter as a java.sql.Ref. |
short |
ResultSet.getShort(String columnName)
Gets the value of a column specified by column name, as a short value. |
short |
CallableStatement.getShort(String parameterName)
Gets the value of a specified JDBC SMALLINT parameter as a
short. |
String |
ResultSet.getString(String columnName)
Gets the value of a column specified by column name, as a String. |
String |
CallableStatement.getString(String parameterName)
Returns the named parameter's value as a string. |
ResultSet |
DatabaseMetaData.getSuperTables(String catalog,
String schemaPattern,
String tableNamePattern)
Returns a listing of the hierarchies of tables in a specified schema in the database. |
ResultSet |
DatabaseMetaData.getSuperTypes(String catalog,
String schemaPattern,
String typeNamePattern)
Returns the User Defined Type (UDT) hierarchies for a given schema. |
ResultSet |
DatabaseMetaData.getTablePrivileges(String catalog,
String schemaPattern,
String tableNamePattern)
Returns a description of access rights for each table present in a catalog. |
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Returns a description of the tables in a specified catalog. |
ResultSet |
DatabaseMetaData.getTables(String catalog,
String schemaPattern,
String tableNamePattern,
String[] types)
Returns a description of the tables in a specified catalog. |
Time |
ResultSet.getTime(String columnName)
Gets the value of a column specified by column name, as a java.sql.Time value. |
Time |
CallableStatement.getTime(String parameterName)
Gets the value of a specified JDBC TIME parameter as a java.sql.Time. |
Time |
ResultSet.getTime(String columnName,
Calendar cal)
Gets the value of a column specified by column index, as a java.sql.Time value. |
Time |
CallableStatement.getTime(String parameterName,
Calendar cal)
Gets the value of a specified JDBC TIME parameter as a java.sql.Time, using the supplied Calendar to construct
the time. |
Timestamp |
ResultSet.getTimestamp(String columnName)
Gets the value of a column specified by column name, as a java.sql.Timestamp value. |
Timestamp |
CallableStatement.getTimestamp(String parameterName)
Returns the named parameter's TIMESTAMP value as a java.sql.Timestamp. |
Timestamp |
ResultSet.getTimestamp(String columnName,
Calendar cal)
Gets the value of a column specified by column name, as a java.sql.Timestamp value. |
Timestamp |
CallableStatement.getTimestamp(String parameterName,
Calendar cal)
Returns the indexed parameter's TIMESTAMP value as a java.sql.Timestamp. |
ResultSet |
DatabaseMetaData.getUDTs(String catalog,
String schemaPattern,
String typeNamePattern,
int[] types)
Returns a description of the User Defined Types (UDTs) defined in a given schema, which includes the types DISTINCT, STRUCT and
JAVA_OBJECT. |
InputStream |
ResultSet.getUnicodeStream(String columnName)
Deprecated. Use ResultSet.getCharacterStream(int) |
URL |
ResultSet.getURL(String columnName)
Gets the value of a column specified by column name as a java.net.URL object. |
URL |
CallableStatement.getURL(String parameterName)
Returns the named parameter's JDBC DATALINK value in a new Java
java.net.URL. |
ResultSet |
DatabaseMetaData.getVersionColumns(String catalog,
String schema,
String table)
Returns which of a table's columns are automatically updated when any value in a row is updated. |
String |
Connection.nativeSQL(String sql)
Returns a string representation of the input SQL statement sql expressed in the underlying system's native SQL
syntax. |
long |
Clob.position(String searchstr,
long start)
Retrieves the character position at which a specified substring appears in this Clob object. |
CallableStatement |
Connection.prepareCall(String sql)
Returns a new instance of CallableStatement that may be used for
making stored procedure calls to the database. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency)
Returns a new instance of CallableStatement that may be used for
making stored procedure calls to the database. |
CallableStatement |
Connection.prepareCall(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Returns a new instance of CallableStatement that may be used for
making stored procedure calls to the database. |
PreparedStatement |
Connection.prepareStatement(String sql)
Returns a new instance of PreparedStatement that may be used any
number of times to execute parameterized requests on the database server. |
PreparedStatement |
Connection.prepareStatement(String sql,
int autoGeneratedKeys)
Creates a default PreparedStatement that can retrieve
automatically generated keys. |
PreparedStatement |
Connection.prepareStatement(String sql,
int[] columnIndexes)
Creates a default PreparedStatement that can retrieve the
auto-generated keys designated by a supplied array. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency)
Creates a PreparedStatement that generates ResultSets
with the specified values of resultSetType and resultSetConcurrency. |
PreparedStatement |
Connection.prepareStatement(String sql,
int resultSetType,
int resultSetConcurrency,
int resultSetHoldability)
Creates a PreparedStatement that generates ResultSets
with the specified type, concurrency and holdability |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default PreparedStatement that can retrieve the
auto-generated keys designated by a supplied array. |
PreparedStatement |
Connection.prepareStatement(String sql,
String[] columnNames)
Creates a default PreparedStatement that can retrieve the
auto-generated keys designated by a supplied array. |
static void |
DriverManager.println(String message)
Prints a message to the current JDBC log stream. |
void |
SQLData.readSQL(SQLInput stream,
String typeName)
Reads data from the database into this object. |
void |
CallableStatement.registerOutParameter(int paramIndex,
int sqlType,
String typeName)
Defines the Type of a specified OUT parameter. |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType)
Defines the Type of a specified OUT parameter. |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
int scale)
Defines the Type of a specified OUT parameter. |
void |
CallableStatement.registerOutParameter(String parameterName,
int sqlType,
String typeName)
Defines the Type of a specified OUT parameter. |
void |
CallableStatement.setAsciiStream(String parameterName,
InputStream theInputStream,
int length)
Sets the value of a specified parameter to the content of a supplied InputStream, which has a specified number of bytes. |
void |
CallableStatement.setBigDecimal(String parameterName,
BigDecimal theBigDecimal)
Sets the value of a specified parameter to a supplied java.math.BigDecimal value. |
void |
CallableStatement.setBinaryStream(String parameterName,
InputStream theInputStream,
int length)
Sets the value of a specified parameter to the content of a supplied binary InputStream, which has a specified number of bytes. |
void |
CallableStatement.setBoolean(String parameterName,
boolean theBoolean)
Sets the value of a specified parameter to a supplied boolean
value. |
void |
CallableStatement.setByte(String parameterName,
byte theByte)
Sets the value of a specified parameter to a supplied byte value. |
void |
CallableStatement.setBytes(String parameterName,
byte[] theBytes)
Sets the value of a specified parameter to a supplied array of bytes. |
void |
Connection.setCatalog(String catalog)
Sets the catalog name for this connection. |
void |
CallableStatement.setCharacterStream(String parameterName,
Reader reader,
int length)
Sets the value of a specified parameter to the character content of a Reader object, with the specified length of character data. |
void |
Statement.setCursorName(String name)
Sets the SQL cursor name. |
void |
CallableStatement.setDate(String parameterName,
Date theDate)
Sets the value of a specified parameter to a supplied java.sql.Date value. |
void |
CallableStatement.setDate(String parameterName,
Date theDate,
Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Date value, using a supplied calendar to map the date. |
void |
CallableStatement.setDouble(String parameterName,
double theDouble)
Sets the value of a specified parameter to a supplied double
value. |
void |
CallableStatement.setFloat(String parameterName,
float theFloat)
Sets the value of a specified parameter to to a supplied float
value. |
void |
CallableStatement.setInt(String parameterName,
int theInt)
Sets the value of a specified parameter to a supplied int value. |
void |
CallableStatement.setLong(String parameterName,
long theLong)
Sets the value of a specified parameter to a supplied long value. |
void |
PreparedStatement.setNull(int paramIndex,
int sqlType,
String typeName)
Sets the value of a specified parameter to SQL NULL. |
void |
CallableStatement.setNull(String parameterName,
int sqlType)
Sets the value of a specified parameter to SQL NULL. |
void |
CallableStatement.setNull(String parameterName,
int sqlType,
String typeName)
Sets the value of a specified parameter to be SQL NULL where the
parameter type is either REF or user defined (e.g. |
void |
CallableStatement.setObject(String parameterName,
Object theObject)
Sets the value of a specified parameter using a supplied object. |
void |
CallableStatement.setObject(String parameterName,
Object theObject,
int targetSqlType)
Sets the value of a specified parameter using a supplied object. |
void |
CallableStatement.setObject(String parameterName,
Object theObject,
int targetSqlType,
int scale)
Sets the value of a specified parameter using a supplied object. |
Savepoint |
Connection.setSavepoint(String name)
Creates a named Savepoint in the current transaction. |
void |
CallableStatement.setShort(String parameterName,
short theShort)
Sets the value of a specified parameter to a supplied short
value. |
void |
PreparedStatement.setString(int parameterIndex,
String theString)
Sets the value of a specified parameter to a supplied string. |
int |
Clob.setString(long pos,
String str)
Writes a given Java String to this Clob object at a specified
position. |
int |
Clob.setString(long pos,
String str,
int offset,
int len)
Writes len characters of a string, starting at a specified
character offset, to this Clob. |
void |
CallableStatement.setString(String parameterName,
String theString)
Sets the value of a specified parameter to a supplied String. |
void |
CallableStatement.setTime(String parameterName,
Time theTime)
Sets the value of the parameter named parameterName to the value
of the supplied java.sql.Time. |
void |
CallableStatement.setTime(String parameterName,
Time theTime,
Calendar cal)
Sets the value of the parameter named parameterName to the value
of the supplied java.sql.Time using the supplied calendar. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp theTimestamp)
Sets the value of a specified parameter to a supplied java.sql.Timestamp value. |
void |
CallableStatement.setTimestamp(String parameterName,
Timestamp theTimestamp,
Calendar cal)
Sets the value of a specified parameter to a supplied java.sql.Timestamp value, using the supplied calendar. |
void |
CallableStatement.setURL(String parameterName,
URL theURL)
Sets the value of a specified parameter to the supplied java.net.URL. |
void |
ResultSet.updateArray(String columnName,
Array x)
Updates a column specified by a column name with a java.sql.Array
value. |
void |
ResultSet.updateAsciiStream(String columnName,
InputStream x,
int length)
Updates a column specified by a column name with an Ascii stream value. |
void |
ResultSet.updateBigDecimal(String columnName,
BigDecimal x)
Updates a column specified by a column name with a java.sql.BigDecimal value. |
void |
ResultSet.updateBinaryStream(String columnName,
InputStream x,
int length)
Updates a column specified by a column name with a binary stream value. |
void |
ResultSet.updateBlob(String columnName,
Blob x)
Updates a column specified by a column name with a java.sql.Blob
value. |
void |
ResultSet.updateBoolean(String columnName,
boolean x)
Updates a column specified by a column name with a boolean value. |
void |
ResultSet.updateByte(String columnName,
byte x)
Updates a column specified by a column name with a byte value. |
void |
ResultSet.updateBytes(String columnName,
byte[] x)
Updates a column specified by a column name with a byte array value. |
void |
ResultSet.updateCharacterStream(String columnName,
Reader reader,
int length)
Updates a column specified by a column name with a character stream value. |
void |
ResultSet.updateClob(String columnName,
Clob x)
Updates a column specified by a column name with a java.sql.Clob
value. |
void |
ResultSet.updateDate(String columnName,
Date x)
Updates a column specified by a column name with a java.sql.Date
value. |
void |
ResultSet.updateDouble(String columnName,
double x)
Updates a column specified by a column name with a double value. |
void |
ResultSet.updateFloat(String columnName,
float x)
Updates a column specified by a column name with a float value. |
void |
ResultSet.updateInt(String columnName,
int x)
Updates a column specified by a column name with an int value. |
void |
ResultSet.updateLong(String columnName,
long x)
Updates a column specified by a column name with a long value. |
void |
ResultSet.updateNull(String columnName)
Updates a column specified by a column name with a null value. |
void |
ResultSet.updateObject(String columnName,
Object x)
Updates a column specified by a column name with an Object value. |
void |
ResultSet.updateObject(String columnName,
Object x,
int scale)
Updates a column specified by a column name with an Object value. |
void |
ResultSet.updateRef(String columnName,
Ref x)
Updates a column specified by a column name with a java.sql.Ref
value. |
void |
ResultSet.updateShort(String columnName,
short x)
Updates a column specified by a column name with a short value. |
void |
ResultSet.updateString(int columnIndex,
String x)
Updates a column specified by a column index with a String value. |
void |
ResultSet.updateString(String columnName,
String x)
Updates a column specified by a column name with a String value. |
void |
ResultSet.updateTime(String columnName,
Time x)
Updates a column specified by a column name with a Time value. |
void |
ResultSet.updateTimestamp(String columnName,
Timestamp x)
Updates a column specified by column name with a Timestamp value. |
static Date |
Date.valueOf(String dateString)
Creates a Date from a string representation of a date in SQL
format. |
static Time |
Time.valueOf(String timeString)
Creates a Time object from a string holding a time represented in
JDBC escape format: hh:mm:ss. |
static Timestamp |
Timestamp.valueOf(String s)
Creates a Timestamp object with a time value equal to the time
specified by a supplied String holding the time in JDBC timestamp escape
format, which is "yyyy-mm-dd hh:mm:ss.nnnnnnnnn" |
void |
SQLOutput.writeString(String theString)
Write a String value into the output stream. |
| Method parameters in java.sql with type arguments of type String | |
|---|---|
Object |
Array.getArray(long index,
int count,
Map<String,Class<?>> map)
Returns part of the SQL ARRAY associated with this array,
starting at a particular index and comprising up to count
successive elements of the SQL array. |
Object |
Array.getArray(Map<String,Class<?>> map)
Returns the data from the underlying SQL ARRAY as a Java array. |
Object[] |
Struct.getAttributes(Map<String,Class<?>> theMap)
Gets the values of the attributes of this SQL structured type. |
Object |
ResultSet.getObject(int columnIndex,
Map<String,Class<?>> map)
Gets the value of a column specified by column index as a Java Object. |
Object |
CallableStatement.getObject(int parameterIndex,
Map<String,Class<?>> map)
Gets the value of the specified parameter as an Object. |
Object |
Ref.getObject(Map<String,Class<?>> map)
Returns the associated object and uses the relevant mapping to convert it to a Java type. |
Object |
ResultSet.getObject(String columnName,
Map<String,Class<?>> map)
Gets the value of a column specified by column name as a Java Object. |
Object |
CallableStatement.getObject(String parameterName,
Map<String,Class<?>> map)
Gets the value of a specified parameter as an Object. |
ResultSet |
Array.getResultSet(long index,
int count,
Map<String,Class<?>> map)
Returns a ResultSet object that holds the entries of a subarray,
beginning at a particular index and comprising up to count
successive entries. |
ResultSet |
Array.getResultSet(Map<String,Class<?>> map)
Returns a ResultSet object which holds the entries of the SQL
ARRAY associated with this array. |
void |
Connection.setTypeMap(Map<String,Class<?>> map)
Sets the TypeMap for this connection. |
| Constructors in java.sql with parameters of type String | |
|---|---|
BatchUpdateException(String reason,
int[] updateCounts)
Creates a BatchUpdateException with the updateCounts and
reason set to the supplied values. |
|
BatchUpdateException(String reason,
String SQLState,
int[] updateCounts)
Creates a BatchUpdateException with the reason, SQLState and updateCounts set to the supplied values. |
|
BatchUpdateException(String reason,
String SQLState,
int vendorCode,
int[] updateCounts)
Creates a BatchUpdateException for the case where all relevant
information is provided. |
|
DriverPropertyInfo(String name,
String value)
Creates a DriverPropertyInfo instance with the supplied name and
value. |
|
SQLException(String theReason)
Creates an SQLException object. |
|
SQLException(String theReason,
String theSQLState)
Creates an SQLException object. |
|
SQLException(String theReason,
String theSQLState,
int theErrorCode)
Creates an SQLException object. |
|
SQLPermission(String name)
Creates a new SQLPermission object with the specified name. |
|
SQLPermission(String name,
String actions)
Creates a new SQLPermission object with the specified name. |
|
SQLWarning(String theReason)
Creates an SQLWarning object. |
|
SQLWarning(String theReason,
String theSQLState)
Creates an SQLWarning object. |
|
SQLWarning(String theReason,
String theSQLState,
int theErrorCode)
Creates an SQLWarning object. |
|
| Uses of String in java.text |
|---|
| Fields in java.text declared as String | |
|---|---|
(package private) String[] |
DateFormatSymbols.ampms
|
(package private) String[] |
DateFormatSymbols.eras
|
(package private) String[] |
DateFormatSymbols.months
|
(package private) String[] |
DateFormatSymbols.shortMonths
|
(package private) String[] |
DateFormatSymbols.shortWeekdays
|
(package private) String |
StringCharacterIterator.string
|
(package private) String |
AttributedString.text
|
(package private) String[] |
DateFormatSymbols.weekdays
|
(package private) String[][] |
DateFormatSymbols.zoneStrings
|
| Methods in java.text that return String | |
|---|---|
(package private) String |
Format.convertPattern(String template,
String fromChars,
String toChars,
boolean check)
|
String |
DateFormat.format(Date date)
Formats the specified date using the rules of this date format. |
String |
NumberFormat.format(double value)
Formats the specified double using the rules of this number format. |
String |
NumberFormat.format(long value)
Formats the specified long using the rules of this number format. |
String |
Format.format(Object object)
Formats the specified object using the rules of this format. |
static String |
MessageFormat.format(String template,
Object... objects)
Formats the supplied objects using the specified message format pattern. |
String[] |
DateFormatSymbols.getAmPmStrings()
Returns the array of strings which represent AM and PM. |
String |
DecimalFormatSymbols.getCurrencySymbol()
Returns the currency symbol. |
String[] |
DateFormatSymbols.getEras()
Returns the array of strings which represent BC and AD. |
String |
DecimalFormatSymbols.getInfinity()
Returns the string which represents infinity. |
String |
DecimalFormatSymbols.getInternationalCurrencySymbol()
Returns the international currency symbol. |
String |
DateFormatSymbols.getLocalPatternChars()
Returns the pattern characters used by SimpleDateFormat to
specify date and time fields. |
String[] |
DateFormatSymbols.getMonths()
Returns the array of strings containing the full names of the months. |
protected String |
AttributedCharacterIterator.Attribute.getName()
Returns the name of this attribute. |
String |
DecimalFormatSymbols.getNaN()
Returns the string which represents NaN. |
String |
DecimalFormat.getNegativePrefix()
Returns the prefix which is formatted or parsed before a negative number. |
String |
DecimalFormat.getNegativeSuffix()
Returns the suffix which is formatted or parsed after a negative number. |
(package private) static String |
NumberFormat.getPattern(Locale locale,
String type)
|
String |
DecimalFormat.getPositivePrefix()
Returns the prefix which is formatted or parsed before a positive number. |
String |
DecimalFormat.getPositiveSuffix()
Returns the suffix which is formatted or parsed after a positive number. |
String |
RuleBasedCollator.getRules()
Returns the collation rules of this collator. |
String[] |
DateFormatSymbols.getShortMonths()
Returns the array of strings containing the abbreviated names of the months. |
String[] |
DateFormatSymbols.getShortWeekdays()
Returns the array of strings containing the abbreviated names of the days of the week. |
String |
CollationKey.getSourceString()
Returns the string from which this collation key was created. |
(package private) static String |
DateFormat.getStyleName(int style)
|
String[] |
DateFormatSymbols.getWeekdays()
Returns the array of strings containing the full names of the days of the week. |
String[][] |
DateFormatSymbols.getZoneStrings()
Returns the two-dimensional array of strings containing the names of the time zones. |
(package private) String[][] |
DateFormatSymbols.internalZoneStrings()
Gets zone strings, initializing them if necessary. |
String |
DecimalFormat.toLocalizedPattern()
Returns the pattern of this decimal format using localized pattern characters. |
String |
SimpleDateFormat.toLocalizedPattern()
Returns the pattern of this simple date format using localized pattern characters. |
String |
DecimalFormat.toPattern()
Returns the pattern of this decimal format using non-localized pattern characters. |
String |
MessageFormat.toPattern()
Returns the pattern of this message format. |
String |
SimpleDateFormat.toPattern()
Returns the pattern of this simple date format using non-localized pattern characters. |
String |
ChoiceFormat.toPattern()
Returns the pattern of this ChoiceFormat which specifies the
ranges and their associated strings. |
String |
RuleBasedBreakIterator.toString()
|
String |
AttributedCharacterIterator.Attribute.toString()
Returns the name of the class followed by a "(", the name of the attribute, and a ")". |
String |
FieldPosition.toString()
Returns the string representation of this field position. |
String |
Bidi.toString()
Returns the internal message of the Bidi object, used in
debugging. |
String |
Annotation.toString()
Returns this annotation in string representation. |
String |
ParsePosition.toString()
Returns the string representation of this parse position. |
| Methods in java.text with parameters of type String | |
|---|---|
void |
DecimalFormat.applyLocalizedPattern(String pattern)
Changes the pattern of this decimal format to the specified pattern which uses localized pattern characters. |
void |
SimpleDateFormat.applyLocalizedPattern(String template)
Changes the pattern of this simple date format to the specified pattern which uses localized pattern characters. |
void |
DecimalFormat.applyPattern(String pattern)
Changes the pattern of this decimal format to the specified pattern which uses non-localized pattern characters. |
void |
MessageFormat.applyPattern(String template)
Changes this MessageFormat to use the specified pattern. |
void |
SimpleDateFormat.applyPattern(String template)
Changes the pattern of this simple date format to the specified pattern which uses non-localized pattern characters. |
void |
ChoiceFormat.applyPattern(String template)
Parses the pattern to determine new strings and ranges for this ChoiceFormat. |
abstract int |
Collator.compare(String string1,
String string2)
Compares two strings to determine their relative order. |
int |
RuleBasedCollator.compare(String source,
String target)
Compares the source text to the target text according to
the collation rules, strength and decomposition mode for this
RuleBasedCollator. |
(package private) String |
Format.convertPattern(String template,
String fromChars,
String toChars,
boolean check)
|
boolean |
Collator.equals(String string1,
String string2)
Compares two strings using the collation rules to determine if they are equal. |
static String |
MessageFormat.format(String template,
Object... objects)
Formats the supplied objects using the specified message format pattern. |
CollationElementIterator |
RuleBasedCollator.getCollationElementIterator(String source)
Obtains a CollationElementIterator for the given string. |
abstract CollationKey |
Collator.getCollationKey(String string)
Returns a CollationKey for the specified string for this collator
with the current decomposition rule and strength value. |
CollationKey |
RuleBasedCollator.getCollationKey(String source)
Returns the CollationKey for the given source text. |
(package private) static NumberFormat |
NumberFormat.getInstance(Locale locale,
String type)
|
(package private) static String |
NumberFormat.getPattern(Locale locale,
String type)
|
Object[] |
MessageFormat.parse(String string)
Parses the message arguments from the specified string using the rules of this message format. |
Date |
DateFormat.parse(String string)
Parses a date from the specified string using the rules of this date format. |
Number |
NumberFormat.parse(String string)
Parses a Number from the specified string using the rules of this
number format. |
Number |
DecimalFormat.parse(String string,
ParsePosition position)
Parses a Long or Double from the specified string
starting at the index specified by position. |
Object[] |
MessageFormat.parse(String string,
ParsePosition position)
Parses the message argument from the specified string starting at the index specified by position. |
abstract Date |
DateFormat.parse(String string,
ParsePosition position)
Parses a date from the specified string starting at the index specified by position. |
Date |
SimpleDateFormat.parse(String string,
ParsePosition position)
Parses a date from the specified string starting at the index specified by position. |
abstract Number |
NumberFormat.parse(String string,
ParsePosition position)
Parses a Number from the specified string starting at the index
specified by position. |
Number |
ChoiceFormat.parse(String string,
ParsePosition position)
Parses a double from the specified string starting at the index specified by position. |
Object |
Format.parseObject(String string)
Parses the specified string using the rules of this format. |
Object |
MessageFormat.parseObject(String string,
ParsePosition position)
Parses the message argument from the specified string starting at the index specified by position. |
Object |
DateFormat.parseObject(String string,
ParsePosition position)
Parses a date from the specified string starting at the index specified by position. |
Object |
NumberFormat.parseObject(String string,
ParsePosition position)
|
abstract Object |
Format.parseObject(String string,
ParsePosition position)
Parses the specified string starting at the index specified by position. |
void |
DateFormatSymbols.setAmPmStrings(String[] data)
Sets the array of strings which represent AM and PM. |
void |
ChoiceFormat.setChoices(double[] limits,
String[] formats)
Sets the double values and associated strings of this ChoiceFormat. |
void |
DecimalFormatSymbols.setCurrencySymbol(String value)
Sets the currency symbol. |
void |
DateFormatSymbols.setEras(String[] data)
Sets the array of Strings which represent BC and AD. |
void |
DecimalFormatSymbols.setInfinity(String value)
Sets the string which represents infinity. |
void |
DecimalFormatSymbols.setInternationalCurrencySymbol(String value)
Sets the international currency symbol. |
void |
DateFormatSymbols.setLocalPatternChars(String data)
Sets the pattern characters used by SimpleDateFormat to specify
date and time fields. |
void |
DateFormatSymbols.setMonths(String[] data)
Sets the array of strings containing the full names of the months. |
void |
DecimalFormatSymbols.setNaN(String value)
Sets the string which represents NaN. |
void |
DecimalFormat.setNegativePrefix(String value)
Sets the prefix which is formatted or parsed before a negative number. |
void |
DecimalFormat.setNegativeSuffix(String value)
Sets the suffix which is formatted or parsed after a negative number. |
void |
DecimalFormat.setPositivePrefix(String value)
Sets the prefix which is formatted or parsed before a positive number. |
void |
DecimalFormat.setPositiveSuffix(String value)
Sets the suffix which is formatted or parsed after a positive number. |
void |
DateFormatSymbols.setShortMonths(String[] data)
Sets the array of strings containing the abbreviated names of the months. |
void |
DateFormatSymbols.setShortWeekdays(String[] data)
Sets the array of strings containing the abbreviated names of the days of the week. |
void |
CollationElementIterator.setText(String source)
Sets a new source string for iteration, and resets the offset to the beginning of the text. |
void |
BreakIterator.setText(String newText)
Sets the new text string to be analyzed, the current position will be reset to the beginning of this new string, and the old string will be lost. |
void |
StringCharacterIterator.setText(String value)
Sets the source string to iterate over. |
void |
DateFormatSymbols.setWeekdays(String[] data)
Sets the array of strings containing the full names of the days of the week. |
void |
DateFormatSymbols.setZoneStrings(String[][] data)
Sets the two-dimensional array of strings containing the names of the time zones. |
(package private) static boolean |
Format.upTo(String string,
ParsePosition position,
StringBuffer buffer,
char stop)
|
(package private) static boolean |
Format.upToWithQuotes(String string,
ParsePosition position,
StringBuffer buffer,
char stop,
char start)
|
| Constructors in java.text with parameters of type String | |
|---|---|
AttributedCharacterIterator.Attribute(String name)
The constructor for an Attribute with the name passed. |
|
AttributedString(String value)
Creates an AttributedString from the given text. |
|
AttributedString(String value,
Map<? extends AttributedCharacterIterator.Attribute,?> attributes)
Creates an AttributedString from the given text and the
attributes. |
|
Bidi(String paragraph,
int flags)
Creates a Bidi object. |
|
ChoiceFormat(double[] limits,
String[] formats)
Constructs a new ChoiceFormat with the specified double values
and associated strings. |
|
ChoiceFormat(String template)
Constructs a new ChoiceFormat with the strings and limits parsed
from the specified pattern. |
|
CollationKey(String source,
com.ibm.icu4jni.text.CollationKey key)
|
|
DateFormat.Field(String fieldName,
int calendarField)
Constructs a new instance of DateFormat.Field with the given
fieldName and calendar field. |
|
DecimalFormat(String pattern)
Constructs a new DecimalFormat using the specified non-localized
pattern and the DecimalFormatSymbols for the default Locale. |
|
DecimalFormat(String pattern,
DecimalFormatSymbols value)
Constructs a new DecimalFormat using the specified non-localized
pattern and DecimalFormatSymbols. |
|
Format.Field(String fieldName)
Constructs a new instance of Field with the given field name. |
|
MessageFormat.Field(String fieldName)
Constructs a new instance of MessageFormat.Field with the
given field name. |
|
MessageFormat(String template)
Constructs a new MessageFormat using the specified pattern and
the default locale for formats. |
|
MessageFormat(String template,
Locale locale)
Constructs a new MessageFormat using the specified pattern and
the specified locale for formats. |
|
NumberFormat.Field(String fieldName)
Constructs a new instance of NumberFormat.Field with the
given field name. |
|
ParseException(String detailMessage,
int location)
Constructs a new instance of this class with its stack trace, detail message and the location of the error filled in. |
|
RuleBasedCollator(String rules)
Constructs a new instance of RuleBasedCollator using the
specified rules. |
|
SimpleDateFormat(String pattern)
Constructs a new SimpleDateFormat using the specified
non-localized pattern and the DateFormatSymbols and Calendar for the default locale. |
|
SimpleDateFormat(String template,
DateFormatSymbols value)
Constructs a new SimpleDateFormat using the specified
non-localized pattern and DateFormatSymbols and the Calendar for the default locale. |
|
SimpleDateFormat(String template,
Locale locale)
Constructs a new SimpleDateFormat using the specified
non-localized pattern and the DateFormatSymbols and Calendar for the specified locale. |
|
StringCharacterIterator(String value)
Constructs a new StringCharacterIterator on the specified string. |
|
StringCharacterIterator(String value,
int location)
Constructs a new StringCharacterIterator on the specified string
with the current index set to the specified value. |
|
StringCharacterIterator(String value,
int start,
int end,
int location)
Constructs a new StringCharacterIterator on the specified string
with the begin, end and current index set to the specified values. |
|
| Uses of String in java.util |
|---|
| Fields in java.util declared as String | |
|---|---|
(package private) String |
MissingResourceException.className
|
(package private) String |
MissingResourceException.key
|
| Fields in java.util with type parameters of type String | |
|---|---|
(package private) Hashtable<String,Permission> |
PropertyPermissionCollection.permissions
|
(package private) Hashtable<String,Object> |
ListResourceBundle.table
|
| Methods in java.util that return String | |
|---|---|
static String |
Arrays.deepToString(Object[] array)
Creates a "deep" String representation of the
Object[] passed, such that if the array contains other arrays,
the String representation of those arrays is generated as well. |
String |
Scanner.findInLine(Pattern pattern)
Tries to find the pattern in the input. |
String |
Scanner.findInLine(String pattern)
Compiles the pattern string and tries to find a substing matching it in the input data. |
String |
Scanner.findWithinHorizon(Pattern pattern,
int horizon)
Tries to find the pattern in the input between the current position and the specified horizon. |
String |
Scanner.findWithinHorizon(String pattern,
int horizon)
Tries to find the pattern in the input between the current position and the specified horizon. |
String |
PropertyPermission.getActions()
Returns the actions associated with the receiver. |
static String[] |
TimeZone.getAvailableIDs()
Gets the available time zone IDs. |
static String[] |
TimeZone.getAvailableIDs(int offset)
Gets the available time zone IDs which match the specified offset from GMT. |
String |
MissingResourceException.getClassName()
Returns the class name of the resource bundle from which a resource could not be found, or in the case of a missing resource, the name of the missing resource bundle. |
String |
UnknownFormatConversionException.getConversion()
Returns the conversion associated with the exception. |
String |
Locale.getCountry()
Gets the country code for this Locale or an empty string of no country
was set. |
String |
Currency.getCurrencyCode()
Returns this Currency's ISO 4217 currency code. |
String |
Locale.getDisplayCountry()
Gets the full country name in the default Locale for the country code of
this Locale. |
String |
Locale.getDisplayCountry(Locale locale)
Gets the full country name in the specified Locale for the country code
of this Locale. |
String |
Locale.getDisplayLanguage()
Gets the full language name in the default Locale for the language code
of this Locale. |
String |
Locale.getDisplayLanguage(Locale locale)
Gets the full language name in the specified Locale for the language code
of this Locale. |
String |
TimeZone.getDisplayName()
Gets the LONG name for this TimeZone for the default Locale in standard
time. |
String |
Locale.getDisplayName()
Gets the full language, country, and variant names in the default Locale
for the codes of this Locale. |
String |
TimeZone.getDisplayName(boolean daylightTime,
int style)
Gets the specified style of name ( LONG or SHORT) for this TimeZone for
the default Locale in either standard or daylight time as specified. |
String |
TimeZone.getDisplayName(boolean daylightTime,
int style,
Locale locale)
Gets the specified style of name ( LONG or SHORT) for this TimeZone for
the specified Locale in either standard or daylight time as specified. |
String |
TimeZone.getDisplayName(Locale locale)
Gets the LONG name for this TimeZone for the specified Locale in standard
time. |
String |
Locale.getDisplayName(Locale locale)
Gets the full language, country, and variant names in the specified Locale for the codes of this Locale. |
String |
Locale.getDisplayVariant()
Gets the full variant name in the default Locale for the variant code of
this Locale. |
String |
Locale.getDisplayVariant(Locale locale)
Gets the full variant name in the specified Locale for the variant code
of this Locale. |
String |
UnknownFormatFlagsException.getFlags()
Returns the flags associated with the exception. |
String |
DuplicateFormatFlagsException.getFlags()
Returns the format flags that contain a duplicate flag. |
String |
IllegalFormatFlagsException.getFlags()
Returns the flags that are illegal. |
String |
FormatFlagsConversionMismatchException.getFlags()
Returns the incompatible format flag. |
String |
MissingFormatWidthException.getFormatSpecifier()
Returns the format specifier associated with the exception. |
String |
MissingFormatArgumentException.getFormatSpecifier()
Returns the conversion associated with the exception. |
String |
TimeZone.getID()
Gets the ID of this TimeZone. |
String |
Locale.getISO3Country()
Gets the three letter ISO country code which corresponds to the country code for this Locale. |
String |
Locale.getISO3Language()
Gets the three letter ISO language code which corresponds to the language code for this Locale. |
static String[] |
Locale.getISOCountries()
Gets the list of two letter ISO country codes which can be used as the country code for a Locale. |
static String[] |
Locale.getISOLanguages()
Gets the list of two letter ISO language codes which can be used as the language code for a Locale. |
String |
MissingResourceException.getKey()
Returns the name of the missing resource, or an empty string if the resource bundle is missing. |
String |
Locale.getLanguage()
Gets the language code for this Locale or the empty string of no language
was set. |
String |
MissingFormatWidthException.getMessage()
Returns the message of the exception. |
String |
MissingFormatArgumentException.getMessage()
Returns the message of the exception. |
String |
IllegalFormatCodePointException.getMessage()
Returns the message string of the IllegalFormatCodePointException. |
String |
UnknownFormatFlagsException.getMessage()
Returns the message associated with the exception. |
String |
UnknownFormatConversionException.getMessage()
Returns the message of the exception. |
String |
DuplicateFormatFlagsException.getMessage()
Returns the message string of the DuplicateFormatFlagsException. |
String |
IllegalFormatConversionException.getMessage()
Returns the message string of the IllegalFormatConversionException. |
String |
IllegalFormatPrecisionException.getMessage()
Returns the message of the exception. |
String |
IllegalFormatFlagsException.getMessage()
Returns the message string of the IllegalFormatFlagsException. |
String |
IllegalFormatWidthException.getMessage()
Returns the message of the exception. |
String |
FormatFlagsConversionMismatchException.getMessage()
Returns the message string of the FormatFlagsConversionMismatchException. |
String |
Properties.getProperty(String name)
Searches for the property with the specified name. |
String |
Properties.getProperty(String name,
String defaultValue)
Searches for the property with the specified name. |
String |
ResourceBundle.getString(String key)
Returns the named string resource from this ResourceBundle. |
String[] |
ResourceBundle.getStringArray(String key)
Returns the named resource from this ResourceBundle. |
String |
Currency.getSymbol()
Returns the symbol for this currency in the default locale. |
String |
Currency.getSymbol(Locale locale)
Returns the symbol for this currency in the given Locale. |
String |
Locale.getVariant()
Gets the variant code for this Locale or an empty String of no variant
was set. |
String |
Scanner.next()
Returns the next token. |
String |
Scanner.next(Pattern pattern)
Returns the next token if it matches the specified pattern. |
String |
Scanner.next(String pattern)
Returns the next token if it matches the specified pattern. |
String |
Scanner.nextLine()
Returns the skipped input and advances the Scanner to the beginning of
the next line. |
String |
StringTokenizer.nextToken()
Returns the next token in the string as a String. |
String |
StringTokenizer.nextToken(String delims)
Returns the next token in the string as a String. |
String |
Date.toGMTString()
Deprecated. use DateFormat |
String |
Date.toLocaleString()
Deprecated. use DateFormat |
String |
MapEntry.toString()
|
String |
AbstractCollection.toString()
Returns the string representation of this Collection. |
String |
Vector.toString()
Returns the string representation of this vector. |
String |
Locale.toString()
Returns the string representation of this Locale. |
String |
Date.toString()
Returns the string representation of this Date in the format: Tue Jun 22
13:07:00 GMT 1999 |
String |
SimpleTimeZone.toString()
Returns the string representation of this SimpleTimeZone. |
String |
EventObject.toString()
Returns the string representation of this EventObject. |
String |
Scanner.toString()
Returns a string representation of this Scanner. |
String |
Hashtable.toString()
Returns the string representation of this Hashtable. |
String |
BitSet.toString()
Returns a string containing a concise, human-readable description of the receiver. |
String |
AbstractMap.toString()
Returns the string representation of this map. |
String |
Currency.toString()
Returns this currency's ISO 4217 currency code. |
String |
Collections.SynchronizedCollection.toString()
|
String |
Collections.SynchronizedMap.toString()
|
String |
Formatter.toString()
Returns the content by calling the toString() method of the output
destination. |
String |
Calendar.toString()
Returns the string representation of this Calendar. |
String |
IdentityHashMap.IdentityHashMapEntry.toString()
|
String |
UUID.toString()
Returns a string representation of this UUID in the following format, as per RFC 4122. |
static String |
Arrays.toString(boolean[] array)
Creates a String representation of the boolean[] passed. |
static String |
Arrays.toString(byte[] array)
Creates a String representation of the byte[] passed. |
static String |
Arrays.toString(char[] array)
Creates a String representation of the char[] passed. |
static String |
Arrays.toString(double[] array)
Creates a String representation of the double[] passed. |
static String |
Arrays.toString(float[] array)
Creates a String representation of the float[] passed. |
static String |
Arrays.toString(int[] array)
Creates a String representation of the int[] passed. |
static String |
Arrays.toString(long[] array)
Creates a String representation of the long[] passed. |
static String |
Arrays.toString(Object[] array)
Creates a String representation of the Object[] passed. |
static String |
Arrays.toString(short[] array)
Creates a String representation of the short[] passed. |
| Methods in java.util that return types with arguments of type String | |
|---|---|
Enumeration<String> |
ListResourceBundle.getKeys()
Returns the names of the resources contained in this ListResourceBundle. |
Enumeration<String> |
PropertyResourceBundle.getKeys()
|
abstract Enumeration<String> |
ResourceBundle.getKeys()
Returns the names of the resources contained in this ResourceBundle. |
Enumeration<String> |
ResourceBundle.MissingBundle.getKeys()
|
| Methods in java.util with parameters of type String | |
|---|---|
String |
Scanner.findInLine(String pattern)
Compiles the pattern string and tries to find a substing matching it in the input data. |
String |
Scanner.findWithinHorizon(String pattern,
int horizon)
Tries to find the pattern in the input between the current position and the specified horizon. |
Formatter |
Formatter.format(Locale l,
String format,
Object... args)
Writes a formatted string to the output destination of the Formatter. |
Formatter |
Formatter.format(String format,
Object... args)
Writes a formatted string to the output destination of the Formatter. |
static UUID |
UUID.fromString(String uuid)
Parses a UUID string with the format defined by UUID.toString(). |
static ResourceBundle |
ResourceBundle.getBundle(String bundleName)
Finds the named resource bundle for the default Locale and the caller's
ClassLoader. |
(package private) static ResourceBundle |
Locale.getBundle(String clName,
Locale locale)
|
static ResourceBundle |
ResourceBundle.getBundle(String bundleName,
Locale locale)
Finds the named ResourceBundle for the specified Locale and the caller
ClassLoader. |
static ResourceBundle |
ResourceBundle.getBundle(String bundleName,
Locale locale,
ClassLoader loader)
Finds the named resource bundle for the specified Locale and ClassLoader. |
static Currency |
Currency.getInstance(String currencyCode)
Returns the Currency instance for this currency code. |
Object |
ResourceBundle.getObject(String key)
Returns the named resource from this ResourceBundle. |
String |
Properties.getProperty(String name)
Searches for the property with the specified name. |
String |
Properties.getProperty(String name,
String defaultValue)
Searches for the property with the specified name. |
String |
ResourceBundle.getString(String key)
Returns the named string resource from this ResourceBundle. |
String[] |
ResourceBundle.getStringArray(String key)
Returns the named resource from this ResourceBundle. |
static TimeZone |
TimeZone.getTimeZone(String name)
Gets the TimeZone with the specified ID. |
Object |
ListResourceBundle.handleGetObject(String key)
|
Object |
PropertyResourceBundle.handleGetObject(String key)
|
protected abstract Object |
ResourceBundle.handleGetObject(String key)
Returns the named resource from this ResourceBundle, or null if the
resource is not found. |
Object |
ResourceBundle.MissingBundle.handleGetObject(String name)
|
boolean |
Scanner.hasNext(String pattern)
Returns true if this Scanner has one or more tokens remaining to parse
and the next token matches a pattern compiled from the given string. |
String |
Scanner.next(String pattern)
Returns the next token if it matches the specified pattern. |
String |
StringTokenizer.nextToken(String delims)
Returns the next token in the string as a String. |
static long |
Date.parse(String string)
Deprecated. use DateFormat |
void |
Properties.save(OutputStream out,
String comment)
Deprecated. This method ignores any IOException thrown while
writing -- use Properties.store(java.io.OutputStream, java.lang.String) instead for better exception
handling. |
void |
TimeZone.setID(String name)
Sets the ID of this TimeZone. |
Object |
Properties.setProperty(String name,
String value)
Maps the specified key to the specified value. |
Scanner |
Scanner.skip(String pattern)
Tries to use the specified string to construct a pattern and then uses the constructed pattern to match input starting from the current position. |
void |
Properties.store(OutputStream out,
String comment)
Stores the mappings in this Properties to the specified OutputStream, putting the specified comment at the beginning. |
void |
Properties.storeToXML(OutputStream os,
String comment)
Writes all properties stored in this instance into the OutputStream in XML representation. |
void |
Properties.storeToXML(OutputStream os,
String comment,
String encoding)
Writes all properties stored in this instance into the OutputStream in XML representation. |
Scanner |
Scanner.useDelimiter(String pattern)
Sets the delimiting pattern of this Scanner with a pattern compiled from
the supplied string value. |
static Formatter.BigDecimalLayoutForm |
Formatter.BigDecimalLayoutForm.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in java.util with parameters of type String | |
|---|---|
ConcurrentModificationException(String detailMessage)
Constructs a new ConcurrentModificationException with the current
stack trace and message filled in. |
|
Date(String string)
Deprecated. use DateFormat |
|
DuplicateFormatFlagsException(String f)
Constructs a new DuplicateFormatFlagsException with the flags
containing duplicates. |
|
FormatFlagsConversionMismatchException(String f,
char c)
Constructs a new FormatFlagsConversionMismatchException with the
flags and conversion specified. |
|
Formatter(File file,
String csn)
Constructs a Formatter with the given charset,
and whose output is written to the specified File. |
|
Formatter(File file,
String csn,
Locale l)
Constructs a Formatter with the given Locale and charset,
and whose output is written to the specified File. |
|
Formatter(OutputStream os,
String csn)
Constructs a Formatter with the given charset,
and whose output is written to the specified OutputStream. |
|
Formatter(OutputStream os,
String csn,
Locale l)
Constructs a Formatter with the given Locale and charset,
and whose output is written to the specified OutputStream. |
|
Formatter(String fileName)
Constructs a Formatter whose output is written to the specified file. |
|
Formatter(String fileName,
String csn)
Constructs a Formatter whose output is written to the specified file. |
|
Formatter(String fileName,
String csn,
Locale l)
Constructs a Formatter with the given Locale and charset,
and whose output is written to the specified file. |
|
IllegalFormatFlagsException(String f)
Constructs a new IllegalFormatFlagsException with the specified
flags. |
|
InputMismatchException(String msg)
Constructs a new InputMismatchException with the stack trace
filled in and msg as its error message. |
|
InvalidPropertiesFormatException(String m)
Constructs a new InvalidPropertiesFormatException with the
current stack trace and message filled in. |
|
Locale(String language)
Constructs a new Locale using the specified language. |
|
Locale(String language,
String country)
Constructs a new Locale using the specified language and country codes. |
|
Locale(String language,
String country,
String variant)
Constructs a new Locale using the specified language, country, and
variant codes. |
|
MissingFormatArgumentException(String s)
Constructs a new MissingFormatArgumentException with the
specified conversion that lacks the argument. |
|
MissingFormatWidthException(String s)
Constructs a new MissingFormatWidthException with the specified
format specifier. |
|
MissingResourceException(String detailMessage,
String className,
String resourceName)
Constructs a new MissingResourceException with the stack trace,
message, the class name of the resource bundle and the name of the
missing resource filled in. |
|
NoSuchElementException(String detailMessage)
Constructs a new NoSuchElementException with the current stack
trace and message filled in. |
|
PropertyPermission(String name,
String actions)
Constructs a new instance of this class. |
|
Scanner(File src,
String charsetName)
Creates a Scanner with the specified File as input. |
|
Scanner(InputStream src,
String charsetName)
Creates a Scanner on the specified InputStream. |
|
Scanner(ReadableByteChannel src,
String charsetName)
Creates a Scanner with the specified ReadableByteChannel as
input. |
|
Scanner(String src)
Creates a Scanner on the specified string. |
|
SimpleTimeZone(int offset,
String name)
Constructs a SimpleTimeZone with the given base time zone offset from GMT
and time zone ID. |
|
SimpleTimeZone(int offset,
String name,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime)
Constructs a SimpleTimeZone with the given base time zone offset from GMT,
time zone ID, and times to start and end the daylight savings time. |
|
SimpleTimeZone(int offset,
String name,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int daylightSavings)
Constructs a SimpleTimeZone with the given base time zone offset from GMT,
time zone ID, times to start and end the daylight savings time, and
the daylight savings time difference in milliseconds |
|
SimpleTimeZone(int offset,
String name,
int startMonth,
int startDay,
int startDayOfWeek,
int startTime,
int startTimeMode,
int endMonth,
int endDay,
int endDayOfWeek,
int endTime,
int endTimeMode,
int daylightSavings)
Construct a SimpleTimeZone with the given base time zone offset from GMT,
time zone ID, times to start and end the daylight savings time including a
mode specifier, the daylight savings time difference in milliseconds. |
|
StringTokenizer(String string)
Constructs a new StringTokenizer for the parameter string using
whitespace as the delimiter. |
|
StringTokenizer(String string,
String delimiters)
Constructs a new StringTokenizer for the parameter string using
the specified delimiters. |
|
StringTokenizer(String string,
String delimiters,
boolean returnDelimiters)
Constructs a new StringTokenizer for the parameter string using
the specified delimiters, returning the delimiters as tokens if the
parameter returnDelimiters is true. |
|
Timer(String name)
Creates a new named Timer which does not run as a daemon thread. |
|
Timer(String name,
boolean isDaemon)
Creates a new named Timer which may be specified to be run as a
daemon thread. |
|
TooManyListenersException(String detailMessage)
Constructs a new TooManyListenersException with the stack trace
and message filled in. |
|
UnknownFormatConversionException(String s)
Constructs an UnknownFormatConversionException with the unknown
format conversion. |
|
UnknownFormatFlagsException(String f)
Constructs a new UnknownFormatFlagsException with the specified
flags. |
|
| Uses of String in java.util.concurrent |
|---|
| Fields in java.util.concurrent declared as String | |
|---|---|
(package private) String |
Executors.DefaultThreadFactory.namePrefix
|
| Methods in java.util.concurrent that return String | |
|---|---|
String |
CopyOnWriteArrayList.toString()
|
String |
Semaphore.toString()
Returns a string identifying this semaphore, as well as its state. |
String |
ArrayBlockingQueue.toString()
|
String |
LinkedBlockingQueue.toString()
|
String |
PriorityBlockingQueue.toString()
|
String |
ConcurrentHashMap.EntryIterator.toString()
|
String |
ConcurrentHashMap.SimpleEntry.toString()
|
String |
CountDownLatch.toString()
Returns a string identifying this latch, as well as its state. |
| Methods in java.util.concurrent with parameters of type String | |
|---|---|
static TimeUnit |
TimeUnit.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in java.util.concurrent with parameters of type String | |
|---|---|
BrokenBarrierException(String message)
Constructs a BrokenBarrierException with the specified detail message. |
|
CancellationException(String message)
Constructs a CancellationException with the specified detail message. |
|
ExecutionException(String message)
Constructs a ExecutionException with the specified detail message. |
|
ExecutionException(String message,
Throwable cause)
Constructs a ExecutionException with the specified detail message and cause. |
|
RejectedExecutionException(String message)
Constructs a RejectedExecutionException with the specified detail message. |
|
RejectedExecutionException(String message,
Throwable cause)
Constructs a RejectedExecutionException with the specified detail message and cause. |
|
TimeoutException(String message)
Constructs a TimeoutException with the specified detail message. |
|
| Uses of String in java.util.concurrent.atomic |
|---|
| Methods in java.util.concurrent.atomic that return String | |
|---|---|
String |
AtomicIntegerArray.toString()
Returns the String representation of the current values of array. |
String |
AtomicBoolean.toString()
Returns the String representation of the current value. |
String |
AtomicLongArray.toString()
Returns the String representation of the current values of array. |
String |
AtomicReference.toString()
Returns the String representation of the current value. |
String |
AtomicReferenceArray.toString()
Returns the String representation of the current values of array. |
String |
AtomicInteger.toString()
Returns the String representation of the current value. |
String |
AtomicLong.toString()
Returns the String representation of the current value. |
| Methods in java.util.concurrent.atomic with parameters of type String | ||
|---|---|---|
static
|
AtomicReferenceFieldUpdater.newUpdater(Class<U> tclass,
Class<W> vclass,
String fieldName)
Creates an updater for objects with the given field. |
|
static
|
AtomicIntegerFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates an updater for objects with the given field. |
|
static
|
AtomicLongFieldUpdater.newUpdater(Class<U> tclass,
String fieldName)
Creates an updater for objects with the given field. |
|
| Uses of String in java.util.concurrent.locks |
|---|
| Methods in java.util.concurrent.locks that return String | |
|---|---|
String |
ReentrantLock.toString()
Returns a string identifying this lock, as well as its lock state. |
String |
AbstractQueuedSynchronizer.toString()
Returns a string identifying this synchronizer, as well as its state. |
String |
ReentrantReadWriteLock.toString()
Returns a string identifying this lock, as well as its lock state. |
String |
ReentrantReadWriteLock.ReadLock.toString()
Returns a string identifying this lock, as well as its lock state. |
String |
ReentrantReadWriteLock.WriteLock.toString()
Returns a string identifying this lock, as well as its lock state. |
| Uses of String in java.util.jar |
|---|
| Fields in java.util.jar declared as String | |
|---|---|
static String |
Pack200.Packer.CLASS_ATTRIBUTE_PFX
the format of a class attribute name. |
static String |
Pack200.Packer.CODE_ATTRIBUTE_PFX
the format of a code attribute name. |
static String |
Pack200.Packer.DEFLATE_HINT
the deflation hint to set in the output archive. |
static String |
Pack200.Unpacker.DEFLATE_HINT
The String indicating if the unpacker should ignore all transmitted values,can be replaced by either true or false. |
static String |
Pack200.Packer.EFFORT
the indicated amount of effort to use in compressing the archive. |
static String |
Pack200.Packer.ERROR
a String representation for error. |
static String |
Pack200.Packer.FALSE
a String representation of false. |
static String |
Pack200.Unpacker.FALSE
a String representation of false. |
static String |
Pack200.Packer.FIELD_ATTRIBUTE_PFX
the format of a field attribute name. |
static String |
Pack200.Packer.KEEP
a String representation for keep. |
static String |
Pack200.Unpacker.KEEP
a String representation of keep. |
static String |
Pack200.Packer.KEEP_FILE_ORDER
decide if all elements shall transmit in their original order. |
static String |
Pack200.Packer.LATEST
a String representation for latest. |
static String |
JarFile.MANIFEST_NAME
The MANIFEST file name. |
(package private) static String |
JarFile.META_DIR
|
static String |
Pack200.Packer.METHOD_ATTRIBUTE_PFX
the format of a method attribute name. |
static String |
Pack200.Packer.MODIFICATION_TIME
if it shall attempt to determine the latest modification time if this is set to LATEST. |
static String |
Pack200.Packer.PASS
a String representation of pass. |
static String |
Pack200.Packer.PASS_FILE_PFX
the file that will not be compressed. |
static String |
Pack200.Packer.PROGRESS
packer progress as a percentage. |
static String |
Pack200.Unpacker.PROGRESS
the progress as a percentage. |
static String |
Pack200.Packer.SEGMENT_LIMIT
The number of bytes of each archive segment. |
static String |
Pack200.Packer.STRIP
a String representation of strip. |
static String |
Pack200.Packer.TRUE
a String representation of true. |
static String |
Pack200.Unpacker.TRUE
a String representation of true. |
static String |
Pack200.Packer.UNKNOWN_ATTRIBUTE
the action to take if an unknown attribute is encountered. |
| Methods in java.util.jar that return String | |
|---|---|
String |
Attributes.getValue(Attributes.Name name)
Returns the value associated with the parameter Attributes.Name
key. |
String |
Attributes.getValue(String name)
Returns the string associated with the parameter name. |
String |
Attributes.putValue(String name,
String val)
Stores the value val associated with the key name in this
Attributes. |
String |
Attributes.Name.toString()
Returns this attribute name. |
| Methods in java.util.jar that return types with arguments of type String | |
|---|---|
Map<String,Attributes> |
Manifest.getEntries()
Returns a map containing the Attributes for each entry in the
Manifest. |
SortedMap<String,String> |
Pack200.Packer.properties()
Returns a sorted map of the properties of this packer. |
SortedMap<String,String> |
Pack200.Packer.properties()
Returns a sorted map of the properties of this packer. |
SortedMap<String,String> |
Pack200.Unpacker.properties()
Returns a sorted map of the properties of this unpacker. |
SortedMap<String,String> |
Pack200.Unpacker.properties()
Returns a sorted map of the properties of this unpacker. |
| Methods in java.util.jar with parameters of type String | |
|---|---|
(package private) void |
JarVerifier.addMetaEntry(String name,
byte[] buf)
Add a new meta entry to the internal collection of data held on each JAR entry in the META-INF directory including the manifest
file itself. |
protected ZipEntry |
JarInputStream.createZipEntry(String name)
|
Attributes |
Manifest.getAttributes(String name)
Returns the Attributes associated with the parameter entry
name. |
(package private) Certificate[] |
JarVerifier.getCertificates(String name)
Returns all of the Certificate instances that
were used to verify the signature on the JAR entry called
name. |
(package private) byte[] |
Manifest.getChunk(String name)
|
ZipEntry |
JarFile.getEntry(String name)
Return the JarEntry specified by name or null if no such
entry exists. |
JarEntry |
JarFile.getJarEntry(String name)
Return the JarEntry specified by its name or null if no
such entry exists. |
static Vector<Certificate> |
JarVerifier.getSignerCertificates(String signatureFileName,
Map<String,Certificate[]> certificates)
Returns a Vector of all of the
Certificates that are associated with the
signing of the named signature file. |
String |
Attributes.getValue(String name)
Returns the string associated with the parameter name. |
(package private) JarVerifier.VerifierEntry |
JarVerifier.initEntry(String name)
Invoked for each new JAR entry read operation from the input stream. |
String |
Attributes.putValue(String name,
String val)
Stores the value val associated with the key name in this
Attributes. |
| Method parameters in java.util.jar with type arguments of type String | |
|---|---|
static Vector<Certificate> |
JarVerifier.getSignerCertificates(String signatureFileName,
Map<String,Certificate[]> certificates)
Returns a Vector of all of the
Certificates that are associated with the
signing of the named signature file. |
| Constructors in java.util.jar with parameters of type String | |
|---|---|
Attributes.Name(String s)
A String which must satisfy the following EBNF grammar to specify an additional attribute: |
|
InitManifest(InputStream is,
Attributes main,
Map<String,Attributes> entries,
Map<String,byte[]> chunks,
String verString)
|
|
JarEntry(String name)
Creates a new JarEntry named name. |
|
JarException(String detailMessage)
Constructs a new JarException instance with the specified
message. |
|
JarFile(String filename)
Create a new JarFile from the contents of the file specified by
filename. |
|
JarFile(String filename,
boolean verify)
Create a new JarFile from the contents of the file specified by
filename. |
|
JarVerifier(String name)
Constructs and returns a new instance of JarVerifier. |
|
| Constructor parameters in java.util.jar with type arguments of type String | |
|---|---|
InitManifest(InputStream is,
Attributes main,
Map<String,Attributes> entries,
Map<String,byte[]> chunks,
String verString)
|
|
InitManifest(InputStream is,
Attributes main,
Map<String,Attributes> entries,
Map<String,byte[]> chunks,
String verString)
|
|
| Uses of String in java.util.logging |
|---|
| Fields in java.util.logging declared as String | |
|---|---|
(package private) String |
FileHandler.fileName
|
static String |
LogManager.LOGGING_MXBEAN_NAME
The String value of the LoggingMXBean's ObjectName. |
| Methods in java.util.logging that return String | |
|---|---|
String |
SimpleFormatter.format(LogRecord r)
Converts a LogRecord object into a human readable string
representation. |
String |
XMLFormatter.format(LogRecord r)
Converts a LogRecord into an XML string. |
abstract String |
Formatter.format(LogRecord r)
Converts a LogRecord object into a string representation. |
String |
Formatter.formatMessage(LogRecord r)
Formats a LogRecord object into a localized string
representation. |
String |
Handler.getEncoding()
Gets the character encoding used by this handler, null for
default encoding. |
String |
XMLFormatter.getHead(Handler h)
Returns the header string for a set of log records formatted as XML strings, using the output handler's encoding if it is defined, otherwise using the default platform encoding. |
String |
Formatter.getHead(Handler h)
Gets the head string used to wrap a set of log records. |
String |
Level.getLocalizedName()
Gets the localized name of this level. |
String |
LoggingMXBean.getLoggerLevel(String loggerName)
Gets the string value of the logging level of a logger. |
String |
LogRecord.getLoggerName()
Gets the name of the logger. |
String |
LogRecord.getMessage()
Gets the raw message. |
String |
Logger.getName()
Gets the name of this logger, null for anonymous loggers. |
String |
Level.getName()
Gets the name of this level. |
String |
LoggingMXBean.getParentLoggerName(String loggerName)
Gets the name of the parent logger of a logger. |
(package private) static String |
LogManager.getPrivilegedSystemProperty(String key)
|
String |
LogManager.getProperty(String name)
Get the value of property with given name. |
String |
LogRecord.getResourceBundleName()
Gets the name of the resource bundle. |
String |
Logger.getResourceBundleName()
Gets the name of the loaded resource bundle used by this logger to localize logging messages. |
String |
Level.getResourceBundleName()
Gets the name of the resource bundle associated with this level. |
String |
LogRecord.getSourceClassName()
Gets the name of the class that is the source of this log record. |
String |
LogRecord.getSourceMethodName()
Gets the name of the method that is the source of this log record. |
(package private) static String |
LogManager.getSystemLineSeparator()
|
String |
XMLFormatter.getTail(Handler h)
Returns the tail string for a set of log records formatted as XML strings. |
String |
Formatter.getTail(Handler h)
Gets the tail string used to wrap a set of log records. |
String |
Level.toString()
Returns the string representation of this Level object. |
| Methods in java.util.logging that return types with arguments of type String | |
|---|---|
List<String> |
LoggingMXBean.getLoggerNames()
Gets a list of all currently registered logger names. |
Enumeration<String> |
LogManager.getLoggerNames()
Get a Enumeration of all registered logger names. |
| Methods in java.util.logging with parameters of type String | |
|---|---|
void |
Logger.config(String msg)
Logs a message of level Level.CONFIG; the message is transmitted
to all subscribed handlers. |
void |
Logger.entering(String sourceClass,
String sourceMethod)
Logs a message indicating that a method has been entered. |
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object param)
Logs a message indicating that a method has been entered. |
void |
Logger.entering(String sourceClass,
String sourceMethod,
Object[] params)
Logs a message indicating that a method has been entered. |
void |
ErrorManager.error(String message,
Exception exception,
int errorCode)
Reports an error using the given message, exception and error code. |
void |
Logger.exiting(String sourceClass,
String sourceMethod)
Logs a message indicating that a method is exited. |
void |
Logger.exiting(String sourceClass,
String sourceMethod,
Object result)
Logs a message indicating that a method is exited. |
void |
Logger.fine(String msg)
Logs a message of level Level.FINE; the message is transmitted
to all subscribed handlers. |
void |
Logger.finer(String msg)
Logs a message of level Level.FINER; the message is transmitted
to all subscribed handlers. |
void |
Logger.finest(String msg)
Logs a message of level Level.FINEST; the message is transmitted
to all subscribed handlers. |
static Logger |
Logger.getAnonymousLogger(String resourceBundleName)
Gets an anonymous logger to use internally in a thread. |
(package private) static Object |
LogManager.getInstanceByClass(String className)
|
static Logger |
Logger.getLogger(String name)
Gets a named logger. |
Logger |
LogManager.getLogger(String name)
Get the logger with the given name. |
static Logger |
Logger.getLogger(String name,
String resourceBundleName)
Gets a named logger associated with the supplied resource bundle. |
String |
LoggingMXBean.getLoggerLevel(String loggerName)
Gets the string value of the logging level of a logger. |
String |
LoggingMXBean.getParentLoggerName(String loggerName)
Gets the name of the parent logger of a logger. |
(package private) static String |
LogManager.getPrivilegedSystemProperty(String key)
|
String |
LogManager.getProperty(String name)
Get the value of property with given name. |
void |
Logger.info(String msg)
Logs a message of level Level.INFO; the message is transmitted
to all subscribed handlers. |
(package private) void |
Handler.initProperties(String defaultLevel,
String defaultFilter,
String defaultFormatter,
String defaultEncoding)
|
(package private) void |
Handler.internalSetEncoding(String newEncoding)
Sets the character encoding used by this handler. |
(package private) static ResourceBundle |
Logger.loadResourceBundle(String resourceBundleName)
Load the specified resource bundle, use privileged code. |
void |
Logger.log(Level logLevel,
String msg)
Logs a message of the specified level. |
void |
Logger.log(Level logLevel,
String msg,
Object param)
Logs a message of the specified level with the supplied parameter. |
void |
Logger.log(Level logLevel,
String msg,
Object[] params)
Logs a message of the specified level with the supplied parameter array. |
void |
Logger.log(Level logLevel,
String msg,
Throwable thrown)
Logs a message of the specified level with the supplied Throwable
object. |
void |
Logger.logp(Level logLevel,
String sourceClass,
String sourceMethod,
String msg)
Logs a message of the given level with the specified source class name and source method name. |
void |
Logger.logp(Level logLevel,
String sourceClass,
String sourceMethod,
String msg,
Object param)
Logs a message of the given level with the specified source class name, source method name and parameter. |
void |
Logger.logp(Level logLevel,
String sourceClass,
String sourceMethod,
String msg,
Object[] params)
Logs a message of the given level with the specified source class name, source method name and parameter array. |
void |
Logger.logp(Level logLevel,
String sourceClass,
String sourceMethod,
String msg,
Throwable thrown)
Logs a message of the given level with the specified source class name, source method name and Throwable object. |
void |
Logger.logrb(Level logLevel,
String sourceClass,
String sourceMethod,
String bundleName,
String msg)
Logs a message of the given level with the specified source class name and source method name, using the given resource bundle to localize the message. |
void |
Logger.logrb(Level logLevel,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object param)
Logs a message of the given level with the specified source class name, source method name and parameter, using the given resource bundle to localize the message. |
void |
Logger.logrb(Level logLevel,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Object[] params)
Logs a message of the given level with the specified source class name, source method name and parameter array, using the given resource bundle to localize the message. |
void |
Logger.logrb(Level logLevel,
String sourceClass,
String sourceMethod,
String bundleName,
String msg,
Throwable thrown)
Logs a message of the given level with the specified source class name, source method name and Throwable object, using the given resource
bundle to localize the message. |
static Level |
Level.parse(String name)
Parses a level name into a Level object. |
(package private) void |
Handler.printInvalidPropMessage(String key,
String value,
Exception e)
|
protected void |
Handler.reportError(String msg,
Exception ex,
int code)
Reports an error to the error manager associated with this handler, ErrorManager is used for that purpose. |
void |
Handler.setEncoding(String encoding)
Sets the character encoding used by this handler, null indicates
a default encoding. |
void |
StreamHandler.setEncoding(String encoding)
Sets the character encoding used by this handler. |
void |
LoggingMXBean.setLoggerLevel(String loggerName,
String levelName)
Sets the log level of a logger. |
void |
LogRecord.setLoggerName(String loggerName)
Sets the name of the logger. |
void |
LogRecord.setMessage(String message)
Sets the raw message. |
void |
LogRecord.setResourceBundleName(String resourceBundleName)
Sets the name of the resource bundle. |
void |
LogRecord.setSourceClassName(String sourceClassName)
Sets the name of the class that is the source of this log record. |
void |
LogRecord.setSourceMethodName(String sourceMethodName)
Sets the name of the method that is the source of this log record. |
void |
Logger.severe(String msg)
Logs a message of level Level.SEVERE; the message is transmitted
to all subscribed handlers. |
void |
Logger.throwing(String sourceClass,
String sourceMethod,
Throwable thrown)
Logs a message indicating that an exception is thrown. |
void |
Logger.warning(String msg)
Logs a message of level Level.WARNING; the message is
transmitted to all subscribed handlers. |
| Constructors in java.util.logging with parameters of type String | |
|---|---|
FileHandler(String pattern)
Constructs a new FileHandler. |
|
FileHandler(String pattern,
boolean append)
Construct a new FileHandler. |
|
FileHandler(String pattern,
int limit,
int count)
Construct a new FileHandler. |
|
FileHandler(String pattern,
int limit,
int count,
boolean append)
Construct a new FileHandler. |
|
Level(String name,
int level)
Constructs an instance of Level taking the supplied name and
level value. |
|
Level(String name,
int level,
String resourceBundleName)
Constructs an instance of Level taking the supplied name, level
value and resource bundle name. |
|
Logger(String name,
String resourceBundleName)
Constructs a Logger object with the supplied name and resource
bundle name; notifiyParentHandlers is set to true. |
|
LoggingPermission(String name,
String actions)
Constructs a LoggingPermission object required to control the
logging. |
|
LogRecord(Level level,
String msg)
Constructs a LogRecord object using the supplied the logging
level and message. |
|
SocketHandler(String host,
int port)
Constructs a SocketHandler object using the specified host name
and port number together with other properties read by the log manager. |
|
StreamHandler(String defaultLevel,
String defaultFilter,
String defaultFormatter,
String defaultEncoding)
Constructs a StreamHandler object. |
|
| Uses of String in java.util.prefs |
|---|
| Fields in java.util.prefs declared as String | |
|---|---|
(package private) static String |
XMLParser.DOCTYPE
|
(package private) static String |
XMLParser.HEADER
|
(package private) static String |
XMLParser.PREFS_DTD
|
(package private) static String |
XMLParser.PREFS_DTD_NAME
|
| Methods in java.util.prefs that return String | |
|---|---|
String |
AbstractPreferences.absolutePath()
|
abstract String |
Preferences.absolutePath()
Gets the absolute path string of this preference node. |
String[] |
AbstractPreferences.childrenNames()
|
abstract String[] |
Preferences.childrenNames()
Returns the names of all children of this node or an empty string if this node has no children. |
protected abstract String[] |
AbstractPreferences.childrenNamesSpi()
Returns the names of all of the child nodes of this node or an empty array if this node has no children. |
protected String[] |
FilePreferencesImpl.childrenNamesSpi()
|
String |
AbstractPreferences.get(String key,
String deflt)
|
abstract String |
Preferences.get(String key,
String deflt)
Gets the String value mapped to the given key or its default value if no
value is mapped or no backing store is available. |
String |
PreferenceChangeEvent.getKey()
Gets the key of the changed preference. |
String |
PreferenceChangeEvent.getNewValue()
Gets the new value of the changed preference or null if the
preference has been removed. |
protected abstract String |
AbstractPreferences.getSpi(String key)
Gets the preference value mapped to the given key. |
protected String |
FilePreferencesImpl.getSpi(String key)
|
String[] |
AbstractPreferences.keys()
|
abstract String[] |
Preferences.keys()
Returns all preference keys stored in this node or an empty array if no key was found. |
protected abstract String[] |
AbstractPreferences.keysSpi()
Returns an array of all preference keys of this node or an empty array if no preferences have been found. |
protected String[] |
FilePreferencesImpl.keysSpi()
|
String |
AbstractPreferences.name()
|
abstract String |
Preferences.name()
Returns the name of this node. |
String |
AbstractPreferences.toString()
|
abstract String |
Preferences.toString()
Returns a string representation of this node. |
| Methods in java.util.prefs with parameters of type String | |
|---|---|
protected abstract AbstractPreferences |
AbstractPreferences.childSpi(String name)
Returns the child preference node with the given name, creating it if it does not exist. |
protected AbstractPreferences |
FilePreferencesImpl.childSpi(String name)
|
String |
AbstractPreferences.get(String key,
String deflt)
|
abstract String |
Preferences.get(String key,
String deflt)
Gets the String value mapped to the given key or its default value if no
value is mapped or no backing store is available. |
boolean |
AbstractPreferences.getBoolean(String key,
boolean deflt)
|
abstract boolean |
Preferences.getBoolean(String key,
boolean deflt)
Gets the boolean value mapped to the given key or its default value if no
value is mapped, if the backing store is unavailable, or if the value is invalid. |
byte[] |
AbstractPreferences.getByteArray(String key,
byte[] deflt)
|
abstract byte[] |
Preferences.getByteArray(String key,
byte[] deflt)
Gets the byte array value mapped to the given key or its default value if
no value is mapped, if the backing store is unavailable, or if the value is an
invalid string. |
protected AbstractPreferences |
AbstractPreferences.getChild(String name)
Returns the child node with the specified name or null if it
doesn't exist. |
double |
AbstractPreferences.getDouble(String key,
double deflt)
|
abstract double |
Preferences.getDouble(String key,
double deflt)
Gets the double value mapped to the given key or its default value if no
value is mapped, if the backing store is unavailable, or if the value is an invalid
string. |
float |
AbstractPreferences.getFloat(String key,
float deflt)
|
abstract float |
Preferences.getFloat(String key,
float deflt)
Gets the float value mapped to the given key or its default value if no
value is mapped, if the backing store is unavailable, or if the value is an invalid
string. |
int |
AbstractPreferences.getInt(String key,
int deflt)
|
abstract int |
Preferences.getInt(String key,
int deflt)
Gets the int value mapped to the given key or its default value if no
value is mapped, if the backing store is unavailable, or if the value is an invalid
string. |
long |
AbstractPreferences.getLong(String key,
long deflt)
|
abstract long |
Preferences.getLong(String key,
long deflt)
Gets the long value mapped to the given key or its default value if no
value is mapped, if the backing store is unavailable, or if the value is an invalid
string. |
protected abstract String |
AbstractPreferences.getSpi(String key)
Gets the preference value mapped to the given key. |
protected String |
FilePreferencesImpl.getSpi(String key)
|
Preferences |
AbstractPreferences.node(String name)
|
abstract Preferences |
Preferences.node(String path)
Returns the preference node with the given path name. |
boolean |
AbstractPreferences.nodeExists(String name)
|
abstract boolean |
Preferences.nodeExists(String path)
Returns whether the preference node with the given path name exists. |
void |
AbstractPreferences.put(String key,
String value)
|
abstract void |
Preferences.put(String key,
String value)
Adds a new preference to this node using the given key and value or updates the value if a preference with the given key already exists. |
void |
AbstractPreferences.putBoolean(String key,
boolean value)
|
abstract void |
Preferences.putBoolean(String key,
boolean value)
Adds a new preference with a boolean value to this node using the given
key and value or updates the value if a preference with the given key
already exists. |
void |
AbstractPreferences.putByteArray(String key,
byte[] value)
|
abstract void |
Preferences.putByteArray(String key,
byte[] value)
Adds a new preference to this node using the given key and the string form of the given value or updates the value if a preference with the given key already exists. |
void |
AbstractPreferences.putDouble(String key,
double value)
|
abstract void |
Preferences.putDouble(String key,
double value)
Adds a new preference to this node using the given key and double
value or updates the value if a preference with the
given key already exists. |
void |
AbstractPreferences.putFloat(String key,
float value)
|
abstract void |
Preferences.putFloat(String key,
float value)
Adds a new preference to this node using the given key and float
value or updates the value if a preference with the
given key already exists. |
void |
AbstractPreferences.putInt(String key,
int value)
|
abstract void |
Preferences.putInt(String key,
int value)
Adds a new preference to this node using the given key and int
value or updates the value if a preference with the
given key already exists. |
void |
AbstractPreferences.putLong(String key,
long value)
|
abstract void |
Preferences.putLong(String key,
long value)
Adds a new preference to this node using the given key and long
value or updates the value if a preference with the
given key already exists. |
protected abstract void |
AbstractPreferences.putSpi(String name,
String value)
Puts the given key-value pair into this node. |
protected void |
FilePreferencesImpl.putSpi(String name,
String value)
|
void |
AbstractPreferences.remove(String key)
|
abstract void |
Preferences.remove(String key)
Removes the preference mapped to the given key from this node. |
protected abstract void |
AbstractPreferences.removeSpi(String key)
Removes the preference with the specified key. |
protected void |
FilePreferencesImpl.removeSpi(String key)
|
| Constructors in java.util.prefs with parameters of type String | |
|---|---|
AbstractPreferences(AbstractPreferences parent,
String name)
Constructs a new AbstractPreferences instance using the given parent node
and node name. |
|
BackingStoreException(String s)
Constructs a new BackingStoreException instance with a detailed exception
message. |
|
InvalidPreferencesFormatException(String s)
Constructs a new InvalidPreferencesFormatException instance with a
detailed exception message. |
|
InvalidPreferencesFormatException(String s,
Throwable t)
Constructs a new InvalidPreferencesFormatException instance with a
detailed exception message and a nested Throwable. |
|
PreferenceChangeEvent(Preferences p,
String k,
String v)
Construct a new PreferenceChangeEvent instance. |
|
| Uses of String in java.util.regex |
|---|
| Methods in java.util.regex that return String | |
|---|---|
String |
PatternSyntaxException.getDescription()
Returns the description of the syntax error, or null if the
description is not known. |
String |
PatternSyntaxException.getMessage()
Returns a detailed error message for the exception. |
String |
PatternSyntaxException.getPattern()
Returns the syntactically incorrect regular expression. |
String |
Matcher.group()
Returns the text that matched the whole regular expression. |
String |
MatchResultImpl.group()
|
String |
MatchResult.group()
Returns the text that matched the whole regular expression. |
String |
Matcher.group(int group)
Returns the text that matched a given group of the regular expression. |
String |
MatchResultImpl.group(int group)
|
String |
MatchResult.group(int group)
Returns the text that matched a given group of the regular expression. |
String |
Pattern.pattern()
Returns the regular expression that was compiled into this Pattern. |
static String |
Pattern.quote(String s)
Quotes a given string using "\Q" and "\E", so that all other meta-characters lose their special meaning. |
static String |
Matcher.quoteReplacement(String s)
Returns a replacement string for the given one that has all backslashes and dollar signs escaped. |
String |
Matcher.replaceAll(String replacement)
Replaces all occurrences of this matcher's pattern in the input with a given string. |
String |
Matcher.replaceFirst(String replacement)
Replaces the first occurrence of this matcher's pattern in the input with a given string. |
String[] |
Pattern.split(CharSequence input)
Splits a given input around occurrences of a regular expression. |
String[] |
Pattern.split(CharSequence inputSeq,
int limit)
Splits the given input sequence around occurrences of the Pattern. |
String |
Pattern.toString()
|
| Methods in java.util.regex with parameters of type String | |
|---|---|
Matcher |
Matcher.appendReplacement(StringBuffer buffer,
String replacement)
Appends a literal part of the input plus a replacement for the current match to a given StringBuffer. |
static Pattern |
Pattern.compile(String pattern)
Compiles a regular expression, creating a new Pattern instance in the process. |
static Pattern |
Pattern.compile(String pattern,
int flags)
Compiles a regular expression, creating a new Pattern instance in
the process. |
static boolean |
Pattern.matches(String regex,
CharSequence input)
Tries to match a given regular expression against a given input. |
static String |
Pattern.quote(String s)
Quotes a given string using "\Q" and "\E", so that all other meta-characters lose their special meaning. |
static String |
Matcher.quoteReplacement(String s)
Returns a replacement string for the given one that has all backslashes and dollar signs escaped. |
String |
Matcher.replaceAll(String replacement)
Replaces all occurrences of this matcher's pattern in the input with a given string. |
String |
Matcher.replaceFirst(String replacement)
Replaces the first occurrence of this matcher's pattern in the input with a given string. |
| Constructors in java.util.regex with parameters of type String | |
|---|---|
MatchResultImpl(String text,
int[] offsets)
|
|
PatternSyntaxException(String description,
String pattern,
int index)
Creates a new PatternSyntaxException for a given message, pattern, and error index. |
|
| Uses of String in java.util.zip |
|---|
| Fields in java.util.zip declared as String | |
|---|---|
(package private) String |
ZipEntry.comment
|
(package private) String |
ZipFile.fileName
|
(package private) String |
ZipEntry.name
|
| Methods in java.util.zip that return String | |
|---|---|
String |
ZipEntry.getComment()
Gets the comment for this ZipEntry. |
String |
ZipFile.getName()
Gets the file name of this ZipFile. |
String |
ZipEntry.getName()
Gets the name of this ZipEntry. |
String |
ZipEntry.toString()
Returns the string representation of this ZipEntry. |
| Methods in java.util.zip with parameters of type String | |
|---|---|
protected ZipEntry |
ZipInputStream.createZipEntry(String name)
creates a ZipEntry with the given name. |
ZipEntry |
ZipFile.getEntry(String entryName)
Gets the ZIP entry with the specified name from this ZipFile. |
void |
ZipOutputStream.setComment(String comment)
Sets the ZipFile comment associated with the file being written. |
void |
ZipEntry.setComment(String string)
Sets the comment for this ZipEntry. |
(package private) static byte[] |
ZipOutputStream.toUTF8Bytes(String value,
int length)
|
(package private) static int |
ZipOutputStream.utf8Count(String value)
|
| Constructors in java.util.zip with parameters of type String | |
|---|---|
DataFormatException(String detailMessage)
Constructs a new DataFormatException instance with the specified
message. |
|
ZipEntry(String name)
Constructs a new ZipEntry with the specified name. |
|
ZipException(String detailMessage)
Constructs a new ZipException instance with the specified
message. |
|
ZipFile(String name)
Opens a ZIP archived file. |
|
| Uses of String in javax.crypto |
|---|
| Methods in javax.crypto that return String | |
|---|---|
String |
EncryptedPrivateKeyInfo.getAlgName()
Returns the name of the encryption algorithm. |
String |
Cipher.getAlgorithm()
Returns the name of the algorithm of this cipher instance. |
String |
KeyGenerator.getAlgorithm()
Returns the name of the key generation algorithm. |
String |
SealedObject.getAlgorithm()
Returns the algorithm this object was sealed with. |
String |
KeyAgreement.getAlgorithm()
Returns the name of the key agreement algorithm. |
String |
SecretKeyFactory.getAlgorithm()
Returns the name of the secret key algorithm. |
String |
Mac.getAlgorithm()
Returns the name of the MAC algorithm. |
String |
ExemptionMechanism.getName()
Returns the name of this ExemptionMechanism. |
| Methods in javax.crypto with parameters of type String | |
|---|---|
protected abstract SecretKey |
KeyAgreementSpi.engineGenerateSecret(String algorithm)
Generates the shared secret. |
protected abstract void |
CipherSpi.engineSetMode(String mode)
Sets the mode for this cipher. |
protected abstract void |
CipherSpi.engineSetPadding(String padding)
Sets the padding method for this cipher. |
protected Key |
CipherSpi.engineUnwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwraps a key using this cipher instance. |
SecretKey |
KeyAgreement.generateSecret(String algorithm)
Generates the shared secret. |
static Cipher |
Cipher.getInstance(String transformation)
Creates a new Cipher for the specified transformation. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm)
Returns a new ExemptionMechanism instance that provides the
specified exemption mechanism algorithm. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm)
Creates a new KeyGenerator instance that provides the specified
key algorithm, |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm)
Creates a new KeyAgreement for the specified algorithm. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm)
Creates a new SecretKeyFactory instance for the specified key
algorithm. |
static Mac |
Mac.getInstance(String algorithm)
Creates a new Mac instance that provides the specified MAC
algorithm. |
static Cipher |
Cipher.getInstance(String transformation,
Provider provider)
Creates a new cipher for the specified transformation. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm,
Provider provider)
Returns a new ExemptionMechanism instance that provides the
specified exemption mechanism algorithm from the specified provider. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm,
Provider provider)
Creates a new KeyGenerator instance that provides the specified
key algorithm from the specified provider. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm,
Provider provider)
Create a new KeyAgreement for the specified algorithm from the
specified provider. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm,
Provider provider)
Creates a new SecretKeyFactory instance for the specified key
algorithm from the specified provider. |
static Mac |
Mac.getInstance(String algorithm,
Provider provider)
Creates a new Mac instance that provides the specified MAC
algorithm from the specified provider. |
static Cipher |
Cipher.getInstance(String transformation,
String provider)
Creates a new cipher for the specified transformation provided by the specified provider. |
static ExemptionMechanism |
ExemptionMechanism.getInstance(String algorithm,
String provider)
Returns a new ExemptionMechansm instance that provides the
specified exemption mechanism algorithm from the specified provider. |
static KeyGenerator |
KeyGenerator.getInstance(String algorithm,
String provider)
Creates a new KeyGenerator instance that provides the specified
key algorithm from the specified provider. |
static KeyAgreement |
KeyAgreement.getInstance(String algorithm,
String provider)
Creates a new KeyAgreement for the specified algorithm from the
specified provider. |
static SecretKeyFactory |
SecretKeyFactory.getInstance(String algorithm,
String provider)
Creates a new SecretKeyFactory instance for the specified key
algorithm from the specified provider. |
static Mac |
Mac.getInstance(String algorithm,
String provider)
Creates a new Mac instance that provides the specified MAC
algorithm from the specified provider. |
PKCS8EncodedKeySpec |
EncryptedPrivateKeyInfo.getKeySpec(Key decryptKey,
String providerName)
Returns the PKCS8EncodedKeySpec object extracted from the
encrypted data. |
static int |
Cipher.getMaxAllowedKeyLength(String transformation)
Returns the maximum key length for the specified transformation. |
static AlgorithmParameterSpec |
Cipher.getMaxAllowedParameterSpec(String transformation)
Returns the maximum cipher parameter value for the specified transformation. |
Object |
SealedObject.getObject(Key key,
String provider)
Returns the wrapped object, decrypting it using the specified key. |
Key |
Cipher.unwrap(byte[] wrappedKey,
String wrappedKeyAlgorithm,
int wrappedKeyType)
Unwraps a key using this cipher instance. |
| Constructors in javax.crypto with parameters of type String | |
|---|---|
BadPaddingException(String msg)
Creates a new instance of BadPaddingException with a message. |
|
Cipher(CipherSpi cipherSpi,
Provider provider,
String transformation)
Creates a new Cipher instance. |
|
EncryptedPrivateKeyInfo(String encrAlgName,
byte[] encryptedData)
Creates an EncryptedPrivateKeyInfo instance from an algorithm
name and its encrypted data. |
|
ExemptionMechanism(ExemptionMechanismSpi exmechSpi,
Provider provider,
String mechanism)
Creates a ExemptionMechanism instance. |
|
ExemptionMechanismException(String msg)
Creates a new ExemptionMechanismException with the specified
message. |
|
IllegalBlockSizeException(String msg)
Creates a new IllegalBlockSizeException with the specified
message. |
|
KeyAgreement(KeyAgreementSpi keyAgreeSpi,
Provider provider,
String algorithm)
Creates a new KeyAgreement instance. |
|
KeyGenerator(KeyGeneratorSpi keyGenSpi,
Provider provider,
String algorithm)
Creates a new KeyGenerator instance. |
|
Mac(MacSpi macSpi,
Provider provider,
String algorithm)
Creates a new Mac instance. |
|
NoSuchPaddingException(String msg)
Creates a new NoSuchPaddingException with the specified
message. |
|
SecretKeyFactory(SecretKeyFactorySpi keyFacSpi,
Provider provider,
String algorithm)
Creates a new SecretKeyFactory |
|
ShortBufferException(String msg)
Creates a new instance of ShortBufferException with the
specified message |
|
| Uses of String in javax.crypto.spec |
|---|
| Methods in javax.crypto.spec that return String | |
|---|---|
String |
PSource.getAlgorithm()
Returns the source algorithm identifier. |
String |
SecretKeySpec.getAlgorithm()
Returns the algorithm name. |
String |
OAEPParameterSpec.getDigestAlgorithm()
Returns the algorithm name of the message digest. |
String |
SecretKeySpec.getFormat()
Returns the name of the format used to encode the key. |
String |
OAEPParameterSpec.getMGFAlgorithm()
Returns the algorithm name of the mask generation function. |
| Constructors in javax.crypto.spec with parameters of type String | |
|---|---|
OAEPParameterSpec(String mdName,
String mgfName,
AlgorithmParameterSpec mgfSpec,
PSource pSrc)
Creates a new OAEPParameterSpec instance with the specified
message digest algorithm name, mask generation function
(mgf) algorithm name, parameters for the mgf
algorithm and the source of the label L. |
|
PSource(String pSrcName)
Creates a new PSource instance with the specified source
algorithm identifier. |
|
SecretKeySpec(byte[] key,
int offset,
int len,
String algorithm)
Creates a new SecretKeySpec for the key data from the
specified buffer key starting at offset with
length len and the specified algorithm name. |
|
SecretKeySpec(byte[] key,
String algorithm)
Creates a new SecretKeySpec for the specified key data and
algorithm name. |
|
| Uses of String in javax.microedition.khronos.egl |
|---|
| Methods in javax.microedition.khronos.egl that return String | |
|---|---|
String |
EGL10.eglQueryString(EGLDisplay display,
int name)
|
| Uses of String in javax.microedition.khronos.opengles |
|---|
| Methods in javax.microedition.khronos.opengles that return String | |
|---|---|
String |
GL10.glGetString(int name)
|
| Uses of String in javax.net |
|---|
| Methods in javax.net with parameters of type String | |
|---|---|
Socket |
DefaultSocketFactory.createSocket(String host,
int port)
|
abstract Socket |
SocketFactory.createSocket(String host,
int port)
Creates a new socket which is connected to the remote host specified by the parameters host and port. |
Socket |
DefaultSocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
|
abstract Socket |
SocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
Creates a new socket which is connected to the remote host specified by the parameters host and port. |
| Uses of String in javax.net.ssl |
|---|
| Methods in javax.net.ssl that return String | |
|---|---|
String |
X509KeyManager.chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
X509ExtendedKeyManager.chooseEngineClientAlias(String[] keyType,
Principal[] issuers,
SSLEngine engine)
Chooses a alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
X509ExtendedKeyManager.chooseEngineServerAlias(String keyType,
Principal[] issuers,
SSLEngine engine)
Chooses a alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
X509KeyManager.chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
TrustManagerFactory.getAlgorithm()
Returns the name of this TrustManagerFactory algorithm
implementation. |
String |
KeyManagerFactory.getAlgorithm()
Returns the name of the key management algorithm. |
abstract String |
HttpsURLConnection.getCipherSuite()
Returns the name of the cipher suite negotiated during the SSL handshake. |
String |
HandshakeCompletedEvent.getCipherSuite()
Returns the name of the cipher suite negotiated during this handshake. |
String |
SSLSession.getCipherSuite()
Returns the name of the cipher suite used in this session. |
String[] |
X509KeyManager.getClientAliases(String keyType,
Principal[] issuers)
Returns the client aliases for the specified public key type and list of certificate issuers. |
static String |
TrustManagerFactory.getDefaultAlgorithm()
Returns the default algorithm name for the TrustManagerFactory. |
static String |
KeyManagerFactory.getDefaultAlgorithm()
Returns the default key manager factory algorithm name. |
String[] |
DefaultSSLSocketFactory.getDefaultCipherSuites()
|
String[] |
DefaultSSLServerSocketFactory.getDefaultCipherSuites()
|
abstract String[] |
SSLSocketFactory.getDefaultCipherSuites()
Returns the names of the cipher suites that are enabled by default. |
abstract String[] |
SSLServerSocketFactory.getDefaultCipherSuites()
Returns the names of the cipher suites that are enabled by default. |
abstract String[] |
SSLSocket.getEnabledCipherSuites()
Returns the names of the enabled cipher suites. |
abstract String[] |
SSLEngine.getEnabledCipherSuites()
Returns the SSL cipher suite names that are enabled in this engine instance. |
abstract String[] |
SSLServerSocket.getEnabledCipherSuites()
Returns the names of the enabled cipher suites to be used for new connections. |
abstract String[] |
SSLSocket.getEnabledProtocols()
Returns the names of the enabled protocols. |
abstract String[] |
SSLEngine.getEnabledProtocols()
Returns the protocol version names that are enabled in this engine instance. |
abstract String[] |
SSLServerSocket.getEnabledProtocols()
Returns the names of the enabled protocols to be used for new connections. |
String |
SSLSessionBindingEvent.getName()
Returns the name of the binding being added or removed. |
String |
SSLEngine.getPeerHost()
Returns the name of the peer host. |
String |
SSLSession.getPeerHost()
Returns the host name of the peer of this session. |
String |
SSLContext.getProtocol()
Returns the name of the secure socket protocol of this instance. |
String |
SSLSession.getProtocol()
Returns the protocol name that is used for all connections in this session. |
String[] |
X509KeyManager.getServerAliases(String keyType,
Principal[] issuers)
Returns the server aliases for the specified public key type and list of certificate issuers. |
abstract String[] |
SSLSocket.getSupportedCipherSuites()
Returns the names of the supported cipher suites. |
String[] |
DefaultSSLSocketFactory.getSupportedCipherSuites()
|
String[] |
DefaultSSLServerSocketFactory.getSupportedCipherSuites()
|
abstract String[] |
SSLSocketFactory.getSupportedCipherSuites()
Returns the names of the cipher suites that are supported and could be enabled for an SSL connection. |
abstract String[] |
SSLEngine.getSupportedCipherSuites()
Returns the SSL cipher suite names that are supported by this engine. |
abstract String[] |
SSLServerSocket.getSupportedCipherSuites()
Returns the names of the supported cipher suites. |
abstract String[] |
SSLServerSocketFactory.getSupportedCipherSuites()
Returns the list of supported cipher suites that could be enabled for an SSL connection created by this factory. |
abstract String[] |
SSLSocket.getSupportedProtocols()
Returns the names of the supported protocols. |
abstract String[] |
SSLEngine.getSupportedProtocols()
Returns the protocol names that are supported by this engine. |
abstract String[] |
SSLServerSocket.getSupportedProtocols()
Returns the names of the supported protocols. |
String[] |
SSLSession.getValueNames()
Returns the list of the object names bound to this session's application layer data.. |
String |
SSLEngineResult.toString()
Returns a string representation of this instance. |
| Methods in javax.net.ssl with parameters of type String | |
|---|---|
void |
X509TrustManager.checkClientTrusted(X509Certificate[] chain,
String authType)
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for client authentication for the specified authentication type. |
void |
X509TrustManager.checkServerTrusted(X509Certificate[] chain,
String authType)
Checks whether the specified certificate chain (partial or complete) can be validated and is trusted for server authentication for the specified key exchange algorithm. |
String |
X509KeyManager.chooseClientAlias(String[] keyType,
Principal[] issuers,
Socket socket)
Chooses an alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
X509ExtendedKeyManager.chooseEngineClientAlias(String[] keyType,
Principal[] issuers,
SSLEngine engine)
Chooses a alias for the client side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
X509ExtendedKeyManager.chooseEngineServerAlias(String keyType,
Principal[] issuers,
SSLEngine engine)
Chooses a alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
String |
X509KeyManager.chooseServerAlias(String keyType,
Principal[] issuers,
Socket socket)
Chooses an alias for the server side of an SSL connection to authenticate it with the specified public key type and certificate issuers. |
Socket |
DefaultSSLSocketFactory.createSocket(Socket s,
String host,
int port,
boolean autoClose)
|
abstract Socket |
SSLSocketFactory.createSocket(Socket s,
String host,
int port,
boolean autoClose)
Creates an SSLSocket over the specified socket that is connected
to the specified host at the specified port. |
Socket |
DefaultSSLSocketFactory.createSocket(String host,
int port)
|
Socket |
DefaultSSLSocketFactory.createSocket(String host,
int port,
InetAddress localHost,
int localPort)
|
SSLEngine |
SSLContext.createSSLEngine(String peerHost,
int peerPort)
Creates an SSLEngine instance from this context with the
specified hostname and port. |
protected abstract SSLEngine |
SSLContextSpi.engineCreateSSLEngine(String host,
int port)
Creates an SSLEngine instance from this context with the
specified hostname and port. |
X509Certificate[] |
X509KeyManager.getCertificateChain(String alias)
Returns the certificate chain for the specified alias. |
String[] |
X509KeyManager.getClientAliases(String keyType,
Principal[] issuers)
Returns the client aliases for the specified public key type and list of certificate issuers. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm)
Creates a new TrustManagerFactory instance for the specified
trust management algorithm. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm)
Creates a new KeyManagerFactory instance for the specified key
management algorithm. |
static SSLContext |
SSLContext.getInstance(String protocol)
Creates a new SSLContext instance for the specified protocol. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm,
Provider provider)
Creates a new TrustManagerFactory instance for the specified
trust management algorithm from the specified provider. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm,
Provider provider)
Creates a new KeyManagerFactory instance for the specified key
management algorithm from the specified provider. |
static SSLContext |
SSLContext.getInstance(String protocol,
Provider provider)
Creates a new SSLContext instance for the specified protocol from
the specified provider. |
static TrustManagerFactory |
TrustManagerFactory.getInstance(String algorithm,
String provider)
Creates a new TrustManagerFactory instance for the specified
trust management algorithm from the specified provider. |
static KeyManagerFactory |
KeyManagerFactory.getInstance(String algorithm,
String provider)
Creates a new KeyManagerFactory instance for the specified key
management algorithm from the specified provider. |
static SSLContext |
SSLContext.getInstance(String protocol,
String provider)
Creates a new SSLContext instance for the specified protocol from
the specified provider. |
PrivateKey |
X509KeyManager.getPrivateKey(String alias)
Returns the private key for the specified alias. |
String[] |
X509KeyManager.getServerAliases(String keyType,
Principal[] issuers)
Returns the server aliases for the specified public key type and list of certificate issuers. |
Object |
SSLSession.getValue(String name)
Returns the object bound to the specified name in this session's application layer data. |
void |
SSLSession.putValue(String name,
Object value)
Binds the specified object under the specified name in this session's application layer data. |
void |
SSLSession.removeValue(String name)
Removes the binding for the specified name in this session's application layer data. |
abstract void |
SSLSocket.setEnabledCipherSuites(String[] suites)
Sets the names of the cipher suites to be enabled. |
abstract void |
SSLEngine.setEnabledCipherSuites(String[] suites)
Sets the SSL cipher suite names that should be enabled in this engine instance. |
abstract void |
SSLServerSocket.setEnabledCipherSuites(String[] suites)
Sets the names of the cipher suites to be enabled for new connections. |
abstract void |
SSLSocket.setEnabledProtocols(String[] protocols)
Sets the names of the protocols to be enabled. |
abstract void |
SSLEngine.setEnabledProtocols(String[] protocols)
Sets the protocol version names that should be enabled in this engine instance. |
abstract void |
SSLServerSocket.setEnabledProtocols(String[] protocols)
Sets the names of the protocols to be enabled for new connections. |
static SSLEngineResult.HandshakeStatus |
SSLEngineResult.HandshakeStatus.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SSLEngineResult.Status |
SSLEngineResult.Status.valueOf(String name)
Returns the enum constant of this type with the specified name. |
boolean |
DefaultHostnameVerifier.verify(String hostname,
SSLSession session)
DefaultHostnameVerifier assumes the connection should not be permitted. |
boolean |
HostnameVerifier.verify(String hostname,
SSLSession session)
Verifies that the specified hostname is allowed within the specified SSL session. |
| Constructors in javax.net.ssl with parameters of type String | |
|---|---|
ContextImpl(SSLContextSpi contextSpi,
Provider provider,
String protocol)
|
|
DefaultSSLServerSocketFactory(String mes)
|
|
DefaultSSLSocketFactory(String mes)
|
|
KeyManagerFactory(KeyManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
Creates a new KeyManagerFactory. |
|
SSLContext(SSLContextSpi contextSpi,
Provider provider,
String protocol)
Creates a new SSLContext. |
|
SSLEngine(String host,
int port)
Creates a new SSLEngine instance with the specified host and
port. |
|
SSLException(String reason)
Creates a new SSLException with the specified reason. |
|
SSLException(String message,
Throwable cause)
Creates a new SSLException with the specified message and cause. |
|
SSLHandshakeException(String reason)
Creates a new SSLHandshakeException with the specified message. |
|
SSLKeyException(String reason)
Creates a new SSLKeyException with the specified message. |
|
SSLPeerUnverifiedException(String reason)
Creates a new SSLPeerUnverifiedException with the specified
message. |
|
SSLPermission(String name)
Creates a new SSLPermission with the specified name. |
|
SSLPermission(String name,
String actions)
Creates a new SSLPermission with the specified name. |
|
SSLProtocolException(String reason)
Creates a new SSLProtocolException with the specified message. |
|
SSLSessionBindingEvent(SSLSession session,
String name)
Creates a new SSLSessionBindingEvent for the specified session
indicating a binding event for the specified name. |
|
SSLSocket(String host,
int port)
Only to be used by subclasses. |
|
SSLSocket(String host,
int port,
InetAddress clientAddress,
int clientPort)
Only to be used by subclasses. |
|
TrustManagerFactory(TrustManagerFactorySpi factorySpi,
Provider provider,
String algorithm)
Creates a new TrustManagerFactory instance. |
|
| Uses of String in javax.security.auth |
|---|
| Methods in javax.security.auth that return String | |
|---|---|
String |
PrivateCredentialPermission.getActions()
|
String |
PrivateCredentialPermission.getCredentialClass()
Returns the class name of the credential associated with this permission. |
String[][] |
PrivateCredentialPermission.getPrincipals()
Returns the principal's classes and names associated with this PrivateCredentialPermission as a two dimensional array. |
String |
Subject.toString()
Returns a String representation of this Subject. |
| Constructors in javax.security.auth with parameters of type String | |
|---|---|
AuthPermission(String name)
Creates an authentication permission with the specified target name. |
|
AuthPermission(String name,
String actions)
Creates an authentication permission with the specified target name. |
|
DestroyFailedException(String message)
Creates an exception of type DestroyFailedException. |
|
PrivateCredentialPermission(String credentialClass,
Set<Principal> principals)
Creates a PrivateCredentialPermission from the Credential
class and set of principals. |
|
PrivateCredentialPermission(String name,
String action)
Creates a new permission for private credentials specified by the target name name and an action. |
|
| Uses of String in javax.security.auth.callback |
|---|
| Methods in javax.security.auth.callback that return String | |
|---|---|
String |
PasswordCallback.getPrompt()
Returns the prompt that was specified when creating this PasswordCallback |
| Constructors in javax.security.auth.callback with parameters of type String | |
|---|---|
PasswordCallback(String prompt,
boolean echoOn)
Creates a new PasswordCallback instance. |
|
UnsupportedCallbackException(Callback callback,
String message)
Creates a new exception instance and initializes it with both the unsupported Callback and an error message. |
|
| Uses of String in javax.security.auth.login |
|---|
| Constructors in javax.security.auth.login with parameters of type String | |
|---|---|
LoginException(String message)
Creates a new exception instance and initializes it with a given message. |
|
| Uses of String in javax.security.auth.x500 |
|---|
| Fields in javax.security.auth.x500 declared as String | |
|---|---|
static String |
X500Principal.CANONICAL
Defines a constant for the canonical string format of distinguished names. |
static String |
X500Principal.RFC1779
Defines a constant for the RFC 1779 string format of distinguished names. |
static String |
X500Principal.RFC2253
Defines a constant for the RFC 2253 string format of distinguished names. |
| Methods in javax.security.auth.x500 that return String | |
|---|---|
String |
X500Principal.getName()
Returns a human-readable string representation of the distinguished name contained in this X.500 principal. |
String |
X500Principal.getName(String format)
Returns a string representation of the distinguished name contained in this X.500 principal. |
String |
X500Principal.toString()
|
| Methods in javax.security.auth.x500 with parameters of type String | |
|---|---|
String |
X500Principal.getName(String format)
Returns a string representation of the distinguished name contained in this X.500 principal. |
| Constructors in javax.security.auth.x500 with parameters of type String | |
|---|---|
X500Principal(String name)
Creates a new X500Principal from a string representation of a distinguished name. |
|
| Uses of String in javax.security.cert |
|---|
| Methods in javax.security.cert that return String | |
|---|---|
abstract String |
X509Certificate.getSigAlgName()
Returns the name of the algorithm for the certificate signature. |
abstract String |
X509Certificate.getSigAlgOID()
Returns the OID of the signature algorithm from the certificate. |
abstract String |
Certificate.toString()
Returns a string containing a concise, human-readable description of the receiver. |
| Methods in javax.security.cert with parameters of type String | |
|---|---|
abstract void |
Certificate.verify(PublicKey key,
String sigProvider)
Verifies that this certificate was signed with the given public key. |
| Constructors in javax.security.cert with parameters of type String | |
|---|---|
CertificateEncodingException(String msg)
Creates a new CertificateEncodingException with the specified
message. |
|
CertificateException(String msg)
Creates a new CertificateException with the specified message. |
|
CertificateExpiredException(String msg)
Creates a new CertificateExpiredException with the specified
message. |
|
CertificateNotYetValidException(String msg)
Creates a new CertificateNotYetValidException with the specified
message. |
|
CertificateParsingException(String msg)
Creates a new CertificateParsingException with the specified
message. |
|
| Uses of String in javax.sql |
|---|
| Methods in javax.sql that return String | |
|---|---|
String |
RowSet.getCommand()
Gets the RowSet's command property. |
String |
RowSet.getDataSourceName()
Gets the ODBC Data Source Name property associated with this RowSet. |
String |
RowSet.getPassword()
Gets the value of the password property for this RowSet. |
String |
RowSet.getUrl()
Gets the URL property value for this RowSet. |
String |
RowSet.getUsername()
Gets the value of the username property for this RowSet. |
| Methods in javax.sql that return types with arguments of type String | |
|---|---|
Map<String,Class<?>> |
RowSet.getTypeMap()
Gets the custom mapping of SQL User-Defined Types (UDTs) and Java classes for this RowSet, if applicable. |
| Methods in javax.sql with parameters of type String | |
|---|---|
Connection |
DataSource.getConnection(String theUsername,
String thePassword)
Creates a connection to the database represented by this DataSource, using the supplied user name and password. |
PooledConnection |
ConnectionPoolDataSource.getPooledConnection(String theUser,
String thePassword)
Creates a connection to a database, using the supplied user name and password, which can then be used as a pooled connection. |
void |
RowSetMetaData.setCatalogName(int columnIndex,
String catalogName)
Sets the catalog name for a specified column in the RowSet. |
void |
RowSetMetaData.setColumnLabel(int columnIndex,
String theLabel)
Sets the suggested name as label for the column contained in the RowSet. |
void |
RowSetMetaData.setColumnName(int columnIndex,
String theColumnName)
Sets the column name for a specified column in the RowSet. |
void |
RowSetMetaData.setColumnTypeName(int columnIndex,
String theTypeName)
Sets the type name for a specified column in the RowSet, where
the data type is specific to the data source. |
void |
RowSet.setCommand(String cmd)
Sets the Command property for this RowSet - the command is an SQL
query which runs when the execute method is invoked. |
void |
RowSet.setDataSourceName(String name)
Sets the database name property for the RowSet. |
void |
RowSet.setNull(int parameterIndex,
int sqlType,
String typeName)
Sets the value of the specified parameter in the RowSet command
to SQL NULL. |
void |
RowSet.setPassword(String password)
Sets the database Password for this RowSet. |
void |
RowSetMetaData.setSchemaName(int columnIndex,
String theSchemaName)
Sets the schema name for a specified column in the RowSet. |
void |
RowSet.setString(int parameterIndex,
String theString)
Sets the value of the specified parameter in the RowSet command
to a supplied String. |
void |
RowSetMetaData.setTableName(int columnIndex,
String theTableName)
Sets the table name for a specified column in the RowSet. |
void |
RowSet.setUrl(String theURL)
Sets the URL used by this RowSet to access the database via a
DriverManager. |
void |
RowSet.setUsername(String theUsername)
Sets the Username property for the RowSet, used to
authenticate a connection to the database. |
| Method parameters in javax.sql with type arguments of type String | |
|---|---|
void |
RowSet.setTypeMap(Map<String,Class<?>> theTypeMap)
Sets the mapping of SQL User Defined Types (UDTs) to Java classes. |
| Uses of String in javax.xml |
|---|
| Fields in javax.xml declared as String | |
|---|---|
static String |
XMLConstants.DEFAULT_NS_PREFIX
The default namespace prefix. |
static String |
XMLConstants.FEATURE_SECURE_PROCESSING
The SAX feature name for secure processing. |
static String |
XMLConstants.NULL_NS_URI
The namespace URI for the case that no namespace is being used at all. |
static String |
XMLConstants.RELAXNG_NS_URI
The official Relax-NG namespace URI. |
static String |
XMLConstants.W3C_XML_SCHEMA_INSTANCE_NS_URI
The official XSchema instance namespace URI, as defined by W3C. |
static String |
XMLConstants.W3C_XML_SCHEMA_NS_URI
The official XSchema namespace URI, as defined by W3C. |
static String |
XMLConstants.W3C_XPATH_DATATYPE_NS_URI
The official XPath datatype namespace URI, as defined by W3C. |
static String |
XMLConstants.XML_DTD_NS_URI
The official XML DTD namespace URI, as defined by W3C. |
static String |
XMLConstants.XML_NS_PREFIX
The official XML namespace prefix, as defined by W3C. |
static String |
XMLConstants.XML_NS_URI
The official XML namespace URI, as defined by W3C. |
static String |
XMLConstants.XMLNS_ATTRIBUTE
The official XML namespace attribute, as defined by W3C. |
static String |
XMLConstants.XMLNS_ATTRIBUTE_NS_URI
The official XML namespace attribute URI, as defined by W3C. |
| Uses of String in javax.xml.parsers |
|---|
| Methods in javax.xml.parsers that return String | |
|---|---|
String |
FactoryConfigurationError.getMessage()
Returns the message of the error, in case there is one. |
| Methods in javax.xml.parsers with parameters of type String | |
|---|---|
abstract Object |
DocumentBuilderFactory.getAttribute(String name)
Queries an attribute from the underlying implementation. |
abstract boolean |
SAXParserFactory.getFeature(String name)
Queries a feature from the underlying implementation. |
abstract boolean |
DocumentBuilderFactory.getFeature(String name)
Queries a feature from the underlying implementation. |
abstract Object |
SAXParser.getProperty(String name)
Queries a property of the underlying SAX XMLReader. |
void |
SAXParser.parse(InputStream stream,
DefaultHandler handler,
String systemId)
Parses the given XML InputStream using the given SAX event handler and system ID. |
void |
SAXParser.parse(InputStream stream,
HandlerBase handler,
String systemId)
Parses the given XML InputStream using the given SAX event handler and system ID. |
Document |
DocumentBuilder.parse(InputStream stream,
String systemId)
Parses a given XML input stream and builds a DOM tree from it. |
Document |
DocumentBuilder.parse(String uri)
Parses an XML input stream from a given URI and builds a DOM tree from it. |
void |
SAXParser.parse(String uri,
DefaultHandler handler)
Parses the contents of the given URI using the given SAX event handler. |
void |
SAXParser.parse(String uri,
HandlerBase handler)
Parses the contents of the given URI using the given SAX event handler. |
abstract void |
DocumentBuilderFactory.setAttribute(String name,
Object value)
Sets an attribute in the underlying implementation. |
abstract void |
SAXParserFactory.setFeature(String name,
boolean value)
Sets a feature in the underlying implementation. |
abstract void |
DocumentBuilderFactory.setFeature(String name,
boolean value)
Sets a feature in the underlying implementation. |
abstract void |
SAXParser.setProperty(String name,
Object value)
Sets a property of the underlying SAX XMLReader. |
| Constructors in javax.xml.parsers with parameters of type String | |
|---|---|
FactoryConfigurationError(Exception cause,
String message)
Creates a new FactoryConfigurationError with a given error
message and cause. |
|
FactoryConfigurationError(String message)
Creates a new FactoryConfigurationError with a given error
message and no cause. |
|
ParserConfigurationException(String msg)
Creates a new ParserConfigurationException with a given error
message. |
|
| Uses of String in junit.extensions |
|---|
| Methods in junit.extensions that return String | |
|---|---|
String |
TestDecorator.toString()
|
String |
RepeatedTest.toString()
|
| Constructors in junit.extensions with parameters of type String | |
|---|---|
ActiveTestSuite(Class theClass,
String name)
|
|
ActiveTestSuite(String name)
|
|
ExceptionTestCase(String name,
Class exception)
|
|
| Uses of String in junit.framework |
|---|
| Methods in junit.framework that return String | |
|---|---|
String |
TestFailure.exceptionMessage()
|
(package private) static String |
Assert.format(String message,
Object expected,
Object actual)
|
String |
ComparisonFailure.getMessage()
Returns "..." in place of common prefix and "..." in place of common suffix between expected and actual. |
String |
TestSuite.getName()
Returns the name of the suite. |
String |
TestCase.getName()
Gets the name of a TestCase |
String |
TestSuite.toString()
|
String |
TestCase.toString()
Returns a string representation of the test case |
String |
TestFailure.toString()
Returns a short description of the failure. |
String |
TestFailure.trace()
|
| Methods in junit.framework with parameters of type String | |
|---|---|
static void |
Assert.assertEquals(String message,
boolean expected,
boolean actual)
Asserts that two booleans are equal. |
static void |
Assert.assertEquals(String message,
byte expected,
byte actual)
Asserts that two bytes are equal. |
static void |
Assert.assertEquals(String message,
char expected,
char actual)
Asserts that two chars are equal. |
static void |
Assert.assertEquals(String message,
double expected,
double actual,
double delta)
Asserts that two doubles are equal concerning a delta. |
static void |
Assert.assertEquals(String message,
float expected,
float actual,
float delta)
Asserts that two floats are equal concerning a delta. |
static void |
Assert.assertEquals(String message,
int expected,
int actual)
Asserts that two ints are equal. |
static void |
Assert.assertEquals(String message,
long expected,
long actual)
Asserts that two longs are equal. |
static void |
Assert.assertEquals(String message,
Object expected,
Object actual)
Asserts that two objects are equal. |
static void |
Assert.assertEquals(String message,
short expected,
short actual)
Asserts that two shorts are equal. |
static void |
Assert.assertEquals(String expected,
String actual)
Asserts that two Strings are equal. |
static void |
Assert.assertEquals(String message,
String expected,
String actual)
Asserts that two Strings are equal. |
static void |
Assert.assertFalse(String message,
boolean condition)
Asserts that a condition is false. |
static void |
Assert.assertNotNull(String message,
Object object)
Asserts that an object isn't null. |
static void |
Assert.assertNotSame(String message,
Object expected,
Object actual)
Asserts that two objects refer to the same object. |
static void |
Assert.assertNull(String message,
Object object)
Asserts that an object is null. |
static void |
Assert.assertSame(String message,
Object expected,
Object actual)
Asserts that two objects refer to the same object. |
static void |
Assert.assertTrue(String message,
boolean condition)
Asserts that a condition is true. |
static Test |
TestSuite.createTest(Class theClass,
String name)
...as the moon sets over the early morning Merlin, Oregon mountains, our intrepid adventurers type... |
static void |
Assert.fail(String message)
Fails a test with the given message. |
(package private) static String |
Assert.format(String message,
Object expected,
Object actual)
|
void |
TestSuite.setName(String name)
Sets the name of the suite. |
void |
TestCase.setName(String name)
Sets the name of a TestCase |
| Constructors in junit.framework with parameters of type String | |
|---|---|
AssertionFailedError(String message)
|
|
ComparisonFailure(String message,
String expected,
String actual)
Constructs a comparison failure. |
|
TestCase(String name)
Constructs a test case with the given name. |
|
TestSuite(Class theClass,
String name)
Constructs a TestSuite from the given class with the given name. |
|
TestSuite(String name)
Constructs an empty TestSuite. |
|
| Uses of String in junit.runner |
|---|
| Fields in junit.runner declared as String | |
|---|---|
(package private) static String |
TestCaseClassLoader.EXCLUDED_FILE
name of excluded properties file |
static String |
BaseTestRunner.SUITE_METHODNAME
|
| Methods in junit.runner that return String | |
|---|---|
protected String |
ClassPathTestCollector.classNameFromFile(String classFileName)
|
String |
BaseTestRunner.elapsedTimeAsString(long runTime)
Returns the formatted string of the elapsed time. |
String |
BaseTestRunner.extractClassName(String className)
Extract the class name from a String |
static String |
BaseTestRunner.getFilteredTrace(String stack)
Filters stack frames from internal JUnit classes |
static String |
BaseTestRunner.getFilteredTrace(Throwable t)
Returns a filtered stack trace |
static String |
BaseTestRunner.getPreference(String key)
|
static String |
Version.id()
|
protected String |
BaseTestRunner.processArguments(String[] args)
Processes the command line arguments and returns the name of the suite class to run or null |
static String |
BaseTestRunner.truncate(String s)
Truncates a String to the maximum length. |
| Methods in junit.runner with parameters of type String | |
|---|---|
(package private) Class |
LoadingTestCollector.classFromFile(String classFileName)
|
protected String |
ClassPathTestCollector.classNameFromFile(String classFileName)
|
Hashtable |
ClassPathTestCollector.collectFilesInPath(String classPath)
|
String |
BaseTestRunner.extractClassName(String className)
Extract the class name from a String |
(package private) static boolean |
BaseTestRunner.filterLine(String line)
|
(package private) void |
ClassPathTestCollector.gatherFiles(File classRoot,
String classFileName,
Hashtable result)
|
static String |
BaseTestRunner.getFilteredTrace(String stack)
Filters stack frames from internal JUnit classes |
static String |
BaseTestRunner.getPreference(String key)
|
static int |
BaseTestRunner.getPreference(String key,
int dflt)
|
URL |
TestCaseClassLoader.getResource(String name)
|
InputStream |
TestCaseClassLoader.getResourceAsStream(String name)
|
Test |
BaseTestRunner.getTest(String suiteClassName)
Returns the Test corresponding to the given suite. |
boolean |
TestCaseClassLoader.isExcluded(String name)
|
(package private) boolean |
TestCaseClassLoader.isJar(String pathEntry)
|
protected boolean |
LoadingTestCollector.isTestClass(String classFileName)
|
protected boolean |
SimpleTestCollector.isTestClass(String classFileName)
|
protected boolean |
ClassPathTestCollector.isTestClass(String classFileName)
|
Class |
ReloadingTestSuiteLoader.load(String suiteClassName)
|
Class |
StandardTestSuiteLoader.load(String suiteClassName)
Uses the system class loader to load the test class |
Class |
TestSuiteLoader.load(String suiteClassName)
|
Class |
TestCaseClassLoader.loadClass(String name,
boolean resolve)
|
protected Class |
BaseTestRunner.loadSuiteClass(String suiteClassName)
Returns the loaded Class for a suite name. |
protected String |
BaseTestRunner.processArguments(String[] args)
Processes the command line arguments and returns the name of the suite class to run or null |
protected abstract void |
BaseTestRunner.runFailed(String message)
Override to define how to handle a failed loading of a test suite. |
void |
BaseTestRunner.setPreference(String key,
String value)
|
(package private) Vector |
ClassPathTestCollector.splitClassPath(String classPath)
|
abstract void |
BaseTestRunner.testEnded(String testName)
|
void |
TestRunListener.testEnded(String testName)
|
void |
TestRunListener.testFailed(int status,
String testName,
String trace)
|
void |
TestRunListener.testRunStarted(String testSuiteName,
int testCount)
|
abstract void |
BaseTestRunner.testStarted(String testName)
|
void |
TestRunListener.testStarted(String testName)
|
static String |
BaseTestRunner.truncate(String s)
Truncates a String to the maximum length. |
| Constructors in junit.runner with parameters of type String | |
|---|---|
TestCaseClassLoader(String classPath)
Constructs a TestCaseLoader. |
|
| Uses of String in junit.textui |
|---|
| Methods in junit.textui that return String | |
|---|---|
protected String |
ResultPrinter.elapsedTimeAsString(long runTime)
Returns the formatted string of the elapsed time. |
| Methods in junit.textui with parameters of type String | |
|---|---|
static void |
TestRunner.main(String[] args)
|
protected void |
ResultPrinter.printDefects(Enumeration booBoos,
int count,
String type)
|
protected void |
TestRunner.runFailed(String message)
|
protected TestResult |
TestRunner.start(String[] args)
Starts a test run. |
void |
TestRunner.testEnded(String testName)
|
void |
TestRunner.testStarted(String testName)
|
| Uses of String in org.apache.http |
|---|
| Fields in org.apache.http declared as String | |
|---|---|
static String |
HttpHost.DEFAULT_SCHEME_NAME
The default scheme is "http". |
protected String |
HttpHost.hostname
The host to use. |
static String |
HttpVersion.HTTP
The protocol name. |
protected String |
HttpHost.lcHostname
The lowercase host, for HttpHost.equals(java.lang.Object) and HttpHost.hashCode(). |
protected String |
ProtocolVersion.protocol
Name of the protocol. |
protected String |
HttpHost.schemeName
The scheme |
| Methods in org.apache.http that return String | |
|---|---|
String |
HttpHost.getHostName()
Returns the host name. |
String |
RequestLine.getMethod()
|
String |
NameValuePair.getName()
|
String |
Header.getName()
|
String |
HeaderElement.getName()
|
String |
ProtocolVersion.getProtocol()
Returns the name of the protocol. |
String |
ReasonPhraseCatalog.getReason(int status,
Locale loc)
Obtains the reason phrase for a status code. |
String |
StatusLine.getReasonPhrase()
|
String |
HttpHost.getSchemeName()
Returns the scheme name. |
String |
RequestLine.getUri()
|
String |
NameValuePair.getValue()
|
String |
Header.getValue()
|
String |
HeaderElement.getValue()
|
String |
TokenIterator.nextToken()
Obtains the next token from this iteration. |
String |
HttpHost.toHostString()
Obtains the host string, without scheme prefix. |
String |
HttpHost.toString()
|
String |
ProtocolVersion.toString()
Converts this protocol version to a string. |
String |
HttpHost.toURI()
Return the host URI, as a string. |
| Methods in org.apache.http with parameters of type String | |
|---|---|
void |
HttpMessage.addHeader(String name,
String value)
Adds a header to this message. |
boolean |
HttpMessage.containsHeader(String name)
Checks if a certain header is present in this message. |
Header |
HttpMessage.getFirstHeader(String name)
Returns the first header with a specified name of this message. |
Header[] |
HttpMessage.getHeaders(String name)
Returns all the headers with a specified name of this message. |
Header |
HttpMessage.getLastHeader(String name)
Returns the last header with a specified name of this message. |
Object |
HttpConnectionMetrics.getMetric(String metricName)
Return the value for the specified metric. |
NameValuePair |
HeaderElement.getParameterByName(String name)
|
HeaderIterator |
HttpMessage.headerIterator(String name)
Returns an iterator of the headers with a given name. |
HttpRequest |
HttpRequestFactory.newHttpRequest(String method,
String uri)
|
void |
HttpMessage.removeHeaders(String name)
Removes all headers with a certain name from this message. |
void |
HttpMessage.setHeader(String name,
String value)
Overwrites the first header with the same name. |
void |
HttpResponse.setReasonPhrase(String reason)
Updates the status line of this response with a new reason phrase. |
void |
HttpResponse.setStatusLine(ProtocolVersion ver,
int code,
String reason)
Sets the status line of this response with a reason phrase. |
| Constructors in org.apache.http with parameters of type String | |
|---|---|
ConnectionClosedException(String message)
Creates a new ConnectionClosedException with the specified detail message. |
|
HttpException(String message)
Creates a new HttpException with the specified detail message. |
|
HttpException(String message,
Throwable cause)
Creates a new HttpException with the specified detail message and cause. |
|
HttpHost(String hostname)
Creates a new HttpHost, with default scheme and port. |
|
HttpHost(String hostname,
int port)
Creates a new HttpHost, with default scheme. |
|
HttpHost(String hostname,
int port,
String scheme)
Creates a new HttpHost, specifying all values. |
|
MalformedChunkCodingException(String message)
Creates a MalformedChunkCodingException with the specified detail message. |
|
MethodNotSupportedException(String message)
Creates a new MethodNotSupportedException with the specified detail message. |
|
MethodNotSupportedException(String message,
Throwable cause)
Creates a new MethodNotSupportedException with the specified detail message and cause. |
|
NoHttpResponseException(String message)
Creates a new NoHttpResponseException with the specified detail message. |
|
ParseException(String message)
Creates a ParseException with a detail message. |
|
ProtocolException(String message)
Creates a new ProtocolException with the specified detail message. |
|
ProtocolException(String message,
Throwable cause)
Creates a new ProtocolException with the specified detail message and cause. |
|
ProtocolVersion(String protocol,
int major,
int minor)
Create a protocol version designator. |
|
UnsupportedHttpVersionException(String message)
Creates an exception with the specified detail message. |
|
| Uses of String in org.apache.http.auth |
|---|
| Fields in org.apache.http.auth declared as String | |
|---|---|
static String |
AuthScope.ANY_HOST
The null value represents any host. |
static String |
AuthScope.ANY_REALM
The null value represents any realm. |
static String |
AuthScope.ANY_SCHEME
The null value represents any authentication scheme. |
static String |
AUTH.PROXY_AUTH
The proxy authenticate challange header. |
static String |
AUTH.PROXY_AUTH_RESP
The proxy authenticate response header. |
static String |
AUTH.WWW_AUTH
The www authenticate challange header. |
static String |
AUTH.WWW_AUTH_RESP
The www authenticate response header. |
| Methods in org.apache.http.auth that return String | |
|---|---|
String |
NTCredentials.getDomain()
Retrieves the name to authenticate with. |
String |
NTUserPrincipal.getDomain()
|
String |
AuthScope.getHost()
|
String |
BasicUserPrincipal.getName()
|
String |
NTUserPrincipal.getName()
|
String |
AuthScheme.getParameter(String name)
Returns authentication parameter with the given name, if available. |
String |
Credentials.getPassword()
|
String |
UsernamePasswordCredentials.getPassword()
|
String |
NTCredentials.getPassword()
|
String |
AuthScope.getRealm()
|
String |
AuthScheme.getRealm()
Returns authentication realm. |
String |
AuthScope.getScheme()
|
String |
AuthScheme.getSchemeName()
Returns textual designation of the given authentication scheme. |
String |
NTUserPrincipal.getUsername()
|
String |
UsernamePasswordCredentials.getUserName()
|
String |
NTCredentials.getUserName()
|
String |
NTCredentials.getWorkstation()
Retrieves the workstation name of the computer originating the request. |
String |
AuthScope.toString()
|
String |
AuthState.toString()
|
String |
BasicUserPrincipal.toString()
|
String |
UsernamePasswordCredentials.toString()
|
String |
NTCredentials.toString()
|
String |
NTUserPrincipal.toString()
|
| Methods in org.apache.http.auth that return types with arguments of type String | |
|---|---|
List<String> |
AuthSchemeRegistry.getSchemeNames()
Obtains a list containing names of all registered authentication
schemes in their default order. |
| Methods in org.apache.http.auth with parameters of type String | |
|---|---|
AuthScheme |
AuthSchemeRegistry.getAuthScheme(String name,
HttpParams params)
Gets the authentication scheme with the given name. |
String |
AuthScheme.getParameter(String name)
Returns authentication parameter with the given name, if available. |
void |
AuthSchemeRegistry.register(String name,
AuthSchemeFactory factory)
Registers a AuthSchemeFactory with the given identifier. |
void |
AuthSchemeRegistry.unregister(String name)
Unregisters the class implementing an authentication scheme with
the given name. |
| Method parameters in org.apache.http.auth with type arguments of type String | |
|---|---|
void |
AuthSchemeRegistry.setItems(Map<String,AuthSchemeFactory> map)
Populates the internal collection of registered authentication schemes
with the content of the map passed as a parameter. |
| Constructors in org.apache.http.auth with parameters of type String | |
|---|---|
AuthenticationException(String message)
Creates a new AuthenticationException with the specified message. |
|
AuthenticationException(String message,
Throwable cause)
Creates a new AuthenticationException with the specified detail message and cause. |
|
AuthScope(String host,
int port)
Creates a new credentials scope for the given host, port, any realm name, and any authentication scheme. |
|
AuthScope(String host,
int port,
String realm)
Creates a new credentials scope for the given host, port, realm, and any authentication scheme. |
|
AuthScope(String host,
int port,
String realm,
String scheme)
Creates a new credentials scope for the given host, port, realm, and authentication scheme. |
|
BasicUserPrincipal(String username)
|
|
InvalidCredentialsException(String message)
Creates a new InvalidCredentialsException with the specified message. |
|
InvalidCredentialsException(String message,
Throwable cause)
Creates a new InvalidCredentialsException with the specified detail message and cause. |
|
MalformedChallengeException(String message)
Creates a new MalformedChallengeException with the specified message. |
|
MalformedChallengeException(String message,
Throwable cause)
Creates a new MalformedChallengeException with the specified detail message and cause. |
|
NTCredentials(String usernamePassword)
The constructor with the fully qualified username and password combined string argument. |
|
NTCredentials(String userName,
String password,
String workstation,
String domain)
Constructor. |
|
NTUserPrincipal(String domain,
String username)
|
|
UsernamePasswordCredentials(String usernamePassword)
The constructor with the username and password combined string argument. |
|
UsernamePasswordCredentials(String userName,
String password)
The constructor with the username and password arguments. |
|
| Uses of String in org.apache.http.auth.params |
|---|
| Fields in org.apache.http.auth.params declared as String | |
|---|---|
static String |
AuthPNames.CREDENTIAL_CHARSET
Defines the charset to be used when encoding Credentials. |
| Methods in org.apache.http.auth.params that return String | |
|---|---|
static String |
AuthParams.getCredentialCharset(HttpParams params)
Obtains the charset for encoding Credentials. |
| Methods in org.apache.http.auth.params with parameters of type String | |
|---|---|
static void |
AuthParams.setCredentialCharset(HttpParams params,
String charset)
Sets the charset to be used when encoding Credentials. |
void |
AuthParamBean.setCredentialCharset(String charset)
|
| Uses of String in org.apache.http.client |
|---|
| Methods in org.apache.http.client that return types with arguments of type String | |
|---|---|
Map<String,Header> |
AuthenticationHandler.getChallenges(HttpResponse response,
HttpContext context)
|
| Method parameters in org.apache.http.client with type arguments of type String | |
|---|---|
AuthScheme |
AuthenticationHandler.selectScheme(Map<String,Header> challenges,
HttpResponse response,
HttpContext context)
|
| Constructors in org.apache.http.client with parameters of type String | |
|---|---|
CircularRedirectException(String message)
Creates a new CircularRedirectException with the specified detail message. |
|
CircularRedirectException(String message,
Throwable cause)
Creates a new CircularRedirectException with the specified detail message and cause. |
|
ClientProtocolException(String s)
|
|
ClientProtocolException(String message,
Throwable cause)
|
|
HttpResponseException(int statusCode,
String s)
|
|
NonRepeatableRequestException(String message)
Creates a new NonRepeatableEntityException with the specified detail message. |
|
RedirectException(String message)
Creates a new RedirectException with the specified detail message. |
|
RedirectException(String message,
Throwable cause)
Creates a new RedirectException with the specified detail message and cause. |
|
| Uses of String in org.apache.http.client.entity |
|---|
| Constructors in org.apache.http.client.entity with parameters of type String | |
|---|---|
UrlEncodedFormEntity(List<? extends NameValuePair> parameters,
String encoding)
Constructs a new UrlEncodedFormEntity with the list
of parameters in the specified encoding. |
|
| Uses of String in org.apache.http.client.methods |
|---|
| Fields in org.apache.http.client.methods declared as String | |
|---|---|
static String |
HttpOptions.METHOD_NAME
|
static String |
HttpPut.METHOD_NAME
|
static String |
HttpGet.METHOD_NAME
|
static String |
HttpPost.METHOD_NAME
|
static String |
HttpTrace.METHOD_NAME
|
static String |
HttpHead.METHOD_NAME
|
static String |
HttpDelete.METHOD_NAME
|
| Methods in org.apache.http.client.methods that return String | |
|---|---|
String |
HttpOptions.getMethod()
|
String |
HttpPut.getMethod()
|
String |
HttpGet.getMethod()
|
abstract String |
HttpRequestBase.getMethod()
|
String |
HttpPost.getMethod()
|
String |
HttpUriRequest.getMethod()
Returns the HTTP method this request uses, such as GET,
PUT, POST, or other. |
String |
HttpTrace.getMethod()
|
String |
HttpHead.getMethod()
|
String |
HttpDelete.getMethod()
|
| Methods in org.apache.http.client.methods that return types with arguments of type String | |
|---|---|
Set<String> |
HttpOptions.getAllowedMethods(HttpResponse response)
|
| Constructors in org.apache.http.client.methods with parameters of type String | |
|---|---|
HttpDelete(String uri)
|
|
HttpGet(String uri)
|
|
HttpHead(String uri)
|
|
HttpOptions(String uri)
|
|
HttpPost(String uri)
|
|
HttpPut(String uri)
|
|
HttpTrace(String uri)
|
|
| Uses of String in org.apache.http.client.params |
|---|
| Fields in org.apache.http.client.params declared as String | |
|---|---|
static String |
ClientPNames.ALLOW_CIRCULAR_REDIRECTS
Defines whether circular redirects (redirects to the same location) should be allowed. |
static String |
AuthPolicy.BASIC
Basic authentication scheme as defined in RFC2617 (considered inherently insecure, but most widely supported) |
static String |
CookiePolicy.BEST_MATCH
The default 'best match' policy. |
static String |
CookiePolicy.BROWSER_COMPATIBILITY
The policy that provides high degree of compatibilty with common cookie management of popular HTTP agents. |
static String |
ClientPNames.CONNECTION_MANAGER_FACTORY
Defines the factory to create a default ClientConnectionManager. |
static String |
ClientPNames.CONNECTION_MANAGER_FACTORY_CLASS_NAME
Defines the class name of the default ClientConnectionManager |
static String |
ClientPNames.COOKIE_POLICY
Defines the name of the cookie specification to be used for HTTP state management. |
static String |
ClientPNames.DEFAULT_HEADERS
Defines the request headers to be sent per default with each request. |
static String |
ClientPNames.DEFAULT_HOST
Defines the default host. |
static String |
AuthPolicy.DIGEST
Digest authentication scheme as defined in RFC2617. |
static String |
ClientPNames.HANDLE_AUTHENTICATION
Defines whether authentication should be handled automatically. |
static String |
ClientPNames.HANDLE_REDIRECTS
Defines whether redirects should be handled automatically |
static String |
ClientPNames.MAX_REDIRECTS
Defines the maximum number of redirects to be followed. |
static String |
CookiePolicy.NETSCAPE
The Netscape cookie draft compliant policy. |
static String |
AuthPolicy.NTLM
The NTLM scheme is a proprietary Microsoft Windows Authentication protocol (considered to be the most secure among currently supported authentication schemes). |
static String |
ClientPNames.REJECT_RELATIVE_REDIRECT
Defines whether relative redirects should be rejected. |
static String |
CookiePolicy.RFC_2109
The RFC 2109 compliant policy. |
static String |
CookiePolicy.RFC_2965
The RFC 2965 compliant policy. |
static String |
ClientPNames.VIRTUAL_HOST
Defines the virtual host name. |
| Methods in org.apache.http.client.params that return String | |
|---|---|
static String |
HttpClientParams.getCookiePolicy(HttpParams params)
|
| Methods in org.apache.http.client.params with parameters of type String | |
|---|---|
void |
ClientParamBean.setConnectionManagerFactoryClassName(String factory)
|
static void |
HttpClientParams.setCookiePolicy(HttpParams params,
String cookiePolicy)
|
void |
ClientParamBean.setCookiePolicy(String policy)
|
| Uses of String in org.apache.http.client.protocol |
|---|
| Fields in org.apache.http.client.protocol declared as String | |
|---|---|
static String |
ClientContext.AUTH_SCHEME_PREF
|
static String |
ClientContext.AUTHSCHEME_REGISTRY
|
static String |
ClientContext.COOKIE_ORIGIN
|
static String |
ClientContext.COOKIE_SPEC
|
static String |
ClientContext.COOKIE_STORE
|
static String |
ClientContext.COOKIESPEC_REGISTRY
|
static String |
ClientContext.CREDS_PROVIDER
|
static String |
ClientContext.PROXY_AUTH_STATE
|
static String |
ClientContext.TARGET_AUTH_STATE
|
static String |
ClientContext.USER_TOKEN
|
| Method parameters in org.apache.http.client.protocol with type arguments of type String | |
|---|---|
void |
ClientContextConfigurer.setAuthSchemePref(List<String> list)
|
| Uses of String in org.apache.http.client.utils |
|---|
| Fields in org.apache.http.client.utils declared as String | |
|---|---|
static String |
URLEncodedUtils.CONTENT_TYPE
|
| Methods in org.apache.http.client.utils that return String | |
|---|---|
static String |
URLEncodedUtils.format(List<? extends NameValuePair> parameters,
String encoding)
Returns a String that is suitable for use as an application/x-www-form-urlencoded
list of parameters in an HTTP PUT or HTTP POST. |
| Methods in org.apache.http.client.utils with parameters of type String | |
|---|---|
static URI |
URIUtils.createURI(String scheme,
String host,
int port,
String path,
String query,
String fragment)
Constructs a URI using all the parameters. |
static String |
URLEncodedUtils.format(List<? extends NameValuePair> parameters,
String encoding)
Returns a String that is suitable for use as an application/x-www-form-urlencoded
list of parameters in an HTTP PUT or HTTP POST. |
static void |
URLEncodedUtils.parse(List<NameValuePair> parameters,
Scanner scanner,
String encoding)
Adds all parameters within the Scanner to the list of parameters, as encoded by encoding. |
static List<NameValuePair> |
URLEncodedUtils.parse(URI uri,
String encoding)
Returns a list of NameValuePairs as built from the
URI's query portion. |
static URI |
URIUtils.resolve(URI baseURI,
String reference)
Resolves a URI reference against a base URI. |
| Uses of String in org.apache.http.conn |
|---|
| Methods in org.apache.http.conn with parameters of type String | |
|---|---|
Socket |
MultihomePlainSocketFactory.connectSocket(Socket sock,
String host,
int port,
InetAddress localAddress,
int localPort,
HttpParams params)
Attempts to connects the socket to any of the InetAddresses the
given host name resolves to. |
| Constructors in org.apache.http.conn with parameters of type String | |
|---|---|
ConnectionPoolTimeoutException(String message)
Creates a ConnectTimeoutException with the specified detail message. |
|
ConnectTimeoutException(String message)
Creates a ConnectTimeoutException with the specified detail message. |
|
| Uses of String in org.apache.http.conn.params |
|---|
| Fields in org.apache.http.conn.params declared as String | |
|---|---|
static String |
ConnRoutePNames.DEFAULT_PROXY
Parameter for the default proxy. |
static String |
ConnRoutePNames.FORCED_ROUTE
Parameter for an forced route. |
static String |
ConnRoutePNames.LOCAL_ADDRESS
Parameter for the local address. |
static String |
ConnManagerPNames.MAX_CONNECTIONS_PER_ROUTE
Defines the maximum number of connections per route. |
static String |
ConnConnectionPNames.MAX_STATUS_LINE_GARBAGE
Defines the maximum number of ignorable lines before we expect a HTTP response's status line. |
static String |
ConnManagerPNames.MAX_TOTAL_CONNECTIONS
Defines the maximum number of connections in total. |
static String |
ConnManagerPNames.TIMEOUT
Defines the timeout in milliseconds used when retrieving an instance of ManagedClientConnection from the
ClientConnectionManager. |
| Uses of String in org.apache.http.conn.routing |
|---|
| Methods in org.apache.http.conn.routing that return String | |
|---|---|
String |
RouteTracker.toString()
Obtains a description of the tracked route. |
String |
HttpRoute.toString()
Obtains a description of this route. |
| Methods in org.apache.http.conn.routing with parameters of type String | |
|---|---|
static RouteInfo.TunnelType |
RouteInfo.TunnelType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static RouteInfo.LayerType |
RouteInfo.LayerType.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Uses of String in org.apache.http.conn.scheme |
|---|
| Methods in org.apache.http.conn.scheme that return String | |
|---|---|
String |
Scheme.getName()
Obtains the scheme name. |
String |
Scheme.toString()
Return a string representation of this object. |
| Methods in org.apache.http.conn.scheme that return types with arguments of type String | |
|---|---|
List<String> |
SchemeRegistry.getSchemeNames()
Obtains the names of the registered schemes in their default order. |
| Methods in org.apache.http.conn.scheme with parameters of type String | |
|---|---|
Socket |
SocketFactory.connectSocket(Socket sock,
String host,
int port,
InetAddress localAddress,
int localPort,
HttpParams params)
Connects a socket to the given host. |
Socket |
PlainSocketFactory.connectSocket(Socket sock,
String host,
int port,
InetAddress localAddress,
int localPort,
HttpParams params)
|
Socket |
LayeredSocketFactory.createSocket(Socket socket,
String host,
int port,
boolean autoClose)
Returns a socket connected to the given host that is layered over an existing socket. |
Scheme |
SchemeRegistry.get(String name)
Obtains a scheme by name, if registered. |
Scheme |
SchemeRegistry.getScheme(String name)
Obtains a scheme by name. |
InetAddress |
HostNameResolver.resolve(String hostname)
|
Scheme |
SchemeRegistry.unregister(String name)
Unregisters a scheme. |
| Method parameters in org.apache.http.conn.scheme with type arguments of type String | |
|---|---|
void |
SchemeRegistry.setItems(Map<String,Scheme> map)
Populates the internal collection of registered protocol schemes
with the content of the map passed as a parameter. |
| Constructors in org.apache.http.conn.scheme with parameters of type String | |
|---|---|
Scheme(String name,
SocketFactory factory,
int port)
Creates a new scheme. |
|
| Uses of String in org.apache.http.conn.ssl |
|---|
| Fields in org.apache.http.conn.ssl declared as String | |
|---|---|
static String |
SSLSocketFactory.SSL
|
static String |
SSLSocketFactory.SSLV2
|
static String |
SSLSocketFactory.TLS
|
| Methods in org.apache.http.conn.ssl that return String | |
|---|---|
static String[] |
AbstractVerifier.getCNs(X509Certificate cert)
|
static String[] |
AbstractVerifier.getDNSSubjectAlts(X509Certificate cert)
Extracts the array of SubjectAlt DNS names from an X509Certificate. |
String |
BrowserCompatHostnameVerifier.toString()
|
String |
StrictHostnameVerifier.toString()
|
String |
AllowAllHostnameVerifier.toString()
|
| Methods in org.apache.http.conn.ssl with parameters of type String | |
|---|---|
static boolean |
AbstractVerifier.acceptableCountryWildcard(String cn)
|
Socket |
SSLSocketFactory.connectSocket(Socket sock,
String host,
int port,
InetAddress localAddress,
int localPort,
HttpParams params)
|
static int |
AbstractVerifier.countDots(String s)
Counts the number of dots "." in a string. |
Socket |
SSLSocketFactory.createSocket(Socket socket,
String host,
int port,
boolean autoClose)
|
boolean |
AbstractVerifier.verify(String host,
SSLSession session)
|
boolean |
X509HostnameVerifier.verify(String host,
SSLSession session)
|
void |
AbstractVerifier.verify(String host,
SSLSocket ssl)
|
void |
X509HostnameVerifier.verify(String host,
SSLSocket ssl)
|
void |
BrowserCompatHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
BrowserCompatHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
BrowserCompatHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
StrictHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
StrictHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
StrictHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
X509HostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
Checks to see if the supplied hostname matches any of the supplied CNs or "DNS" Subject-Alts. |
void |
X509HostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
Checks to see if the supplied hostname matches any of the supplied CNs or "DNS" Subject-Alts. |
void |
X509HostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
Checks to see if the supplied hostname matches any of the supplied CNs or "DNS" Subject-Alts. |
void |
AllowAllHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
AllowAllHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
AllowAllHostnameVerifier.verify(String host,
String[] cns,
String[] subjectAlts)
|
void |
AbstractVerifier.verify(String host,
String[] cns,
String[] subjectAlts,
boolean strictWithSubDomains)
|
void |
AbstractVerifier.verify(String host,
String[] cns,
String[] subjectAlts,
boolean strictWithSubDomains)
|
void |
AbstractVerifier.verify(String host,
String[] cns,
String[] subjectAlts,
boolean strictWithSubDomains)
|
void |
AbstractVerifier.verify(String host,
X509Certificate cert)
|
void |
X509HostnameVerifier.verify(String host,
X509Certificate cert)
|
| Constructors in org.apache.http.conn.ssl with parameters of type String | |
|---|---|
SSLSocketFactory(KeyStore keystore,
String keystorePassword)
|
|
SSLSocketFactory(KeyStore keystore,
String keystorePassword,
KeyStore truststore)
|
|
SSLSocketFactory(String algorithm,
KeyStore keystore,
String keystorePassword,
KeyStore truststore,
SecureRandom random,
HostNameResolver nameResolver)
|
|
| Uses of String in org.apache.http.conn.util |
|---|
| Methods in org.apache.http.conn.util with parameters of type String | |
|---|---|
static boolean |
InetAddressUtils.isIPv4Address(String input)
|
static boolean |
InetAddressUtils.isIPv6Address(String input)
|
static boolean |
InetAddressUtils.isIPv6HexCompressedAddress(String input)
|
static boolean |
InetAddressUtils.isIPv6StdAddress(String input)
|
| Uses of String in org.apache.http.cookie |
|---|
| Fields in org.apache.http.cookie declared as String | |
|---|---|
static String |
ClientCookie.COMMENT_ATTR
|
static String |
ClientCookie.COMMENTURL_ATTR
|
static String |
SM.COOKIE
|
static String |
SM.COOKIE2
|
static String |
ClientCookie.DISCARD_ATTR
|
static String |
ClientCookie.DOMAIN_ATTR
|
static String |
ClientCookie.EXPIRES_ATTR
|
static String |
ClientCookie.MAX_AGE_ATTR
|
static String |
ClientCookie.PATH_ATTR
|
static String |
ClientCookie.PORT_ATTR
|
static String |
ClientCookie.SECURE_ATTR
|
static String |
SM.SET_COOKIE
|
static String |
SM.SET_COOKIE2
|
static String |
ClientCookie.VERSION_ATTR
|
| Methods in org.apache.http.cookie that return String | |
|---|---|
String |
ClientCookie.getAttribute(String name)
|
String |
Cookie.getComment()
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined. |
String |
Cookie.getCommentURL()
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL. |
String |
Cookie.getDomain()
Returns domain attribute of the cookie. |
String |
CookieOrigin.getHost()
|
String |
Cookie.getName()
Returns the name. |
String |
Cookie.getPath()
Returns the path attribute of the cookie |
String |
CookieOrigin.getPath()
|
String |
Cookie.getValue()
Returns the value. |
String |
CookieOrigin.toString()
|
| Methods in org.apache.http.cookie that return types with arguments of type String | |
|---|---|
List<String> |
CookieSpecRegistry.getSpecNames()
Obtains a list containing names of all registered cookie
specs in their default order. |
| Methods in org.apache.http.cookie with parameters of type String | |
|---|---|
boolean |
ClientCookie.containsAttribute(String name)
|
String |
ClientCookie.getAttribute(String name)
|
CookieSpec |
CookieSpecRegistry.getCookieSpec(String name)
Gets the cookie specification with the given name. |
CookieSpec |
CookieSpecRegistry.getCookieSpec(String name,
HttpParams params)
Gets the cookie specification with the given ID. |
void |
CookieAttributeHandler.parse(SetCookie cookie,
String value)
Parse the given cookie attribute value and update the corresponding Cookie property. |
void |
CookieSpecRegistry.register(String name,
CookieSpecFactory factory)
Registers a CookieSpecFactory with the given identifier. |
void |
SetCookie.setComment(String comment)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment. |
void |
SetCookie2.setCommentURL(String commentURL)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described by the information at this URL. |
void |
SetCookie.setDomain(String domain)
Sets the domain attribute. |
void |
SetCookie.setPath(String path)
Sets the path attribute. |
void |
SetCookie.setValue(String value)
|
void |
CookieSpecRegistry.unregister(String id)
Unregisters the CookieSpecFactory with the given ID. |
| Method parameters in org.apache.http.cookie with type arguments of type String | |
|---|---|
void |
CookieSpecRegistry.setItems(Map<String,CookieSpecFactory> map)
Populates the internal collection of registered cookie
specs with the content of the map passed as a parameter. |
| Constructors in org.apache.http.cookie with parameters of type String | |
|---|---|
CookieOrigin(String host,
int port,
String path,
boolean secure)
|
|
MalformedCookieException(String message)
Creates a new MalformedCookieException with a specified message string. |
|
MalformedCookieException(String message,
Throwable cause)
Creates a new MalformedCookieException with the specified detail message and cause. |
|
| Uses of String in org.apache.http.cookie.params |
|---|
| Fields in org.apache.http.cookie.params declared as String | |
|---|---|
static String |
CookieSpecPNames.DATE_PATTERNS
Parameter for the date patterns used for parsing. |
static String |
CookieSpecPNames.SINGLE_COOKIE_HEADER
Parameter for Cookie header formatting. |
| Method parameters in org.apache.http.cookie.params with type arguments of type String | |
|---|---|
void |
CookieSpecParamBean.setDatePatterns(Collection<String> patterns)
|
| Uses of String in org.apache.http.entity |
|---|
| Methods in org.apache.http.entity with parameters of type String | |
|---|---|
void |
AbstractHttpEntity.setContentEncoding(String ceString)
Specifies the Content-Encoding header, as a string. |
void |
AbstractHttpEntity.setContentType(String ctString)
Specifies the Content-Type header, as a string. |
| Constructors in org.apache.http.entity with parameters of type String | |
|---|---|
FileEntity(File file,
String contentType)
|
|
StringEntity(String s)
|
|
StringEntity(String s,
String charset)
|
|
| Uses of String in org.apache.http.impl |
|---|
| Fields in org.apache.http.impl declared as String | |
|---|---|
static String |
HttpConnectionMetricsImpl.RECEIVED_BYTES_COUNT
|
static String |
HttpConnectionMetricsImpl.REQUEST_COUNT
|
static String |
HttpConnectionMetricsImpl.RESPONSE_COUNT
|
static String |
HttpConnectionMetricsImpl.SENT_BYTES_COUNT
|
| Methods in org.apache.http.impl that return String | |
|---|---|
String |
EnglishReasonPhraseCatalog.getReason(int status,
Locale loc)
Obtains the reason phrase for a status code. |
String |
DefaultHttpClientConnection.toString()
|
String |
DefaultHttpServerConnection.toString()
|
| Methods in org.apache.http.impl with parameters of type String | |
|---|---|
Object |
HttpConnectionMetricsImpl.getMetric(String metricName)
|
HttpRequest |
DefaultHttpRequestFactory.newHttpRequest(String method,
String uri)
|
void |
HttpConnectionMetricsImpl.setMetric(String metricName,
Object obj)
|
| Uses of String in org.apache.http.impl.auth |
|---|
| Methods in org.apache.http.impl.auth that return String | |
|---|---|
static String |
DigestScheme.createCnonce()
Creates a random cnonce value based on the current time. |
String |
NTLMEngine.generateType1Msg(String domain,
String workstation)
Generates a Type1 message given the domain and workstation. |
String |
NTLMEngine.generateType3Msg(String username,
String password,
String domain,
String workstation,
String challenge)
Generates a Type3 message given the user credentials and the authentication challenge. |
String |
NTLMScheme.getParameter(String name)
|
String |
RFC2617Scheme.getParameter(String name)
Returns authentication parameter with the given name, if available. |
String |
NTLMScheme.getRealm()
|
String |
RFC2617Scheme.getRealm()
Returns authentication realm. |
String |
NTLMScheme.getSchemeName()
|
String |
DigestScheme.getSchemeName()
Returns textual designation of the digest authentication scheme. |
String |
BasicScheme.getSchemeName()
Returns textual designation of the basic authentication scheme. |
| Methods in org.apache.http.impl.auth that return types with arguments of type String | |
|---|---|
protected Map<String,String> |
RFC2617Scheme.getParameters()
Returns authentication parameters map. |
protected Map<String,String> |
RFC2617Scheme.getParameters()
Returns authentication parameters map. |
| Methods in org.apache.http.impl.auth with parameters of type String | |
|---|---|
static Header |
BasicScheme.authenticate(Credentials credentials,
String charset,
boolean proxy)
Returns a basic Authorization header value for the given Credentials and charset. |
String |
NTLMEngine.generateType1Msg(String domain,
String workstation)
Generates a Type1 message given the domain and workstation. |
String |
NTLMEngine.generateType3Msg(String username,
String password,
String domain,
String workstation,
String challenge)
Generates a Type3 message given the user credentials and the authentication challenge. |
String |
NTLMScheme.getParameter(String name)
|
String |
RFC2617Scheme.getParameter(String name)
Returns authentication parameter with the given name, if available. |
void |
DigestScheme.overrideParamter(String name,
String value)
|
static NTLMScheme.State |
NTLMScheme.State.valueOf(String name)
Returns the enum constant of this type with the specified name. |
| Constructors in org.apache.http.impl.auth with parameters of type String | |
|---|---|
NTLMEngineException(String message)
Creates a new NTLMEngineException with the specified message. |
|
NTLMEngineException(String message,
Throwable cause)
Creates a new NTLMEngineException with the specified detail message and cause. |
|
UnsupportedDigestAlgorithmException(String message)
Creates a new UnsupportedAuthAlgoritmException with the specified message. |
|
UnsupportedDigestAlgorithmException(String message,
Throwable cause)
Creates a new UnsupportedAuthAlgoritmException with the specified detail message and cause. |
|
| Uses of String in org.apache.http.impl.client |
|---|
| Methods in org.apache.http.impl.client that return String | |
|---|---|
String |
RequestWrapper.getMethod()
|
String |
BasicResponseHandler.handleResponse(HttpResponse response)
Returns the response body as a String if the response was successful (a 2xx status code). |
String |
BasicCookieStore.toString()
|
String |
BasicCredentialsProvider.toString()
|
| Methods in org.apache.http.impl.client that return types with arguments of type String | |
|---|---|
protected List<String> |
AbstractAuthenticationHandler.getAuthPreferences()
|
Map<String,Header> |
DefaultTargetAuthenticationHandler.getChallenges(HttpResponse response,
HttpContext context)
|
Map<String,Header> |
DefaultProxyAuthenticationHandler.getChallenges(HttpResponse response,
HttpContext context)
|
protected Map<String,Header> |
AbstractAuthenticationHandler.parseChallenges(Header[] headers)
|
| Methods in org.apache.http.impl.client with parameters of type String | |
|---|---|
Object |
ClientParamsStack.getParameter(String name)
Obtains a parameter from this stack. |
boolean |
ClientParamsStack.removeParameter(String name)
Does not remove a parameter. |
void |
RequestWrapper.setMethod(String method)
|
HttpParams |
ClientParamsStack.setParameter(String name,
Object value)
Does not set a parameter. |
| Method parameters in org.apache.http.impl.client with type arguments of type String | |
|---|---|
AuthScheme |
AbstractAuthenticationHandler.selectScheme(Map<String,Header> challenges,
HttpResponse response,
HttpContext context)
|
| Constructors in org.apache.http.impl.client with parameters of type String | |
|---|---|
TunnelRefusedException(String message,
HttpResponse response)
|
|
| Uses of String in org.apache.http.impl.conn |
|---|
| Fields in org.apache.http.impl.conn declared as String | |
|---|---|
static String |
SingleClientConnManager.MISUSE_MESSAGE
The message to be logged on multiple allocation. |
| Methods in org.apache.http.impl.conn that return String | |
|---|---|
protected String |
ProxySelectorRoutePlanner.getHost(InetSocketAddress isa)
Obtains a host from an InetSocketAddress. |
String |
LoggingSessionInputBuffer.readLine()
|
| Methods in org.apache.http.impl.conn with parameters of type String | |
|---|---|
void |
Wire.input(String s)
|
void |
Wire.output(String s)
|
void |
LoggingSessionOutputBuffer.writeLine(String s)
|
| Uses of String in org.apache.http.impl.conn.tsccm |
|---|
| Methods in org.apache.http.impl.conn.tsccm that return String | |
|---|---|
String |
RefQueueWorker.toString()
Obtains a description of this worker. |
| Uses of String in org.apache.http.impl.cookie |
|---|
| Fields in org.apache.http.impl.cookie declared as String | |
|---|---|
protected static String[] |
BrowserCompatSpec.DATE_PATTERNS
Valid date patterns used per default |
protected static String |
NetscapeDraftSpec.EXPIRES_PATTERN
|
static String |
DateUtils.PATTERN_ASCTIME
Date format pattern used to parse HTTP date headers in ANSI C asctime() format. |
static String |
DateUtils.PATTERN_RFC1036
Date format pattern used to parse HTTP date headers in RFC 1036 format. |
static String |
DateUtils.PATTERN_RFC1123
Date format pattern used to parse HTTP date headers in RFC 1123 format. |
| Methods in org.apache.http.impl.cookie that return String | |
|---|---|
static String |
DateUtils.formatDate(Date date)
Formats the given date according to the RFC 1123 pattern. |
static String |
DateUtils.formatDate(Date date,
String pattern)
Formats the given date according to the specified pattern. |
String |
BasicClientCookie.getAttribute(String name)
|
String |
BasicClientCookie.getComment()
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined. |
String |
BasicClientCookie.getCommentURL()
Returns null. |
String |
BasicClientCookie2.getCommentURL()
|
protected static String |
CookieSpecBase.getDefaultDomain(CookieOrigin origin)
|
protected static String |
CookieSpecBase.getDefaultPath(CookieOrigin origin)
|
String |
BasicClientCookie.getDomain()
Returns domain attribute of the cookie. |
String |
BasicClientCookie.getName()
Returns the name. |
String |
BasicClientCookie.getPath()
Returns the path attribute of the cookie |
String |
BasicClientCookie.getValue()
Returns the value. |
String |
BasicClientCookie.toString()
|
| Methods in org.apache.http.impl.cookie with parameters of type String | |
|---|---|
boolean |
BasicClientCookie.containsAttribute(String name)
|
boolean |
RFC2965DomainAttributeHandler.domainMatch(String host,
String domain)
Performs domain-match as defined by the RFC2965. |
protected CookieAttributeHandler |
AbstractCookieSpec.findAttribHandler(String name)
Finds an attribute handler CookieAttributeHandler for the
given attribute. |
static String |
DateUtils.formatDate(Date date,
String pattern)
Formats the given date according to the specified pattern. |
static SimpleDateFormat |
DateUtils.DateFormatHolder.formatFor(String pattern)
creates a SimpleDateFormat for the requested format string. |
protected void |
RFC2109Spec.formatParamAsVer(CharArrayBuffer buffer,
String name,
String value,
int version)
Return a name/value string suitable for sending in a "Cookie" header as defined in RFC 2109 for backward compatibility with cookie version 0 |
protected CookieAttributeHandler |
AbstractCookieSpec.getAttribHandler(String name)
Gets attribute handler CookieAttributeHandler for the
given attribute. |
String |
BasicClientCookie.getAttribute(String name)
|
void |
BasicSecureHandler.parse(SetCookie cookie,
String value)
|
void |
RFC2965DomainAttributeHandler.parse(SetCookie cookie,
String domain)
Parse cookie domain attribute. |
void |
RFC2965DiscardAttributeHandler.parse(SetCookie cookie,
String commenturl)
|
void |
RFC2965PortAttributeHandler.parse(SetCookie cookie,
String portValue)
Parse cookie port attribute. |
void |
RFC2965CommentUrlAttributeHandler.parse(SetCookie cookie,
String commenturl)
|
void |
RFC2965VersionAttributeHandler.parse(SetCookie cookie,
String value)
Parse cookie version attribute. |
void |
RFC2109VersionHandler.parse(SetCookie cookie,
String value)
|
void |
BasicCommentHandler.parse(SetCookie cookie,
String value)
|
void |
BasicExpiresHandler.parse(SetCookie cookie,
String value)
|
void |
BasicPathHandler.parse(SetCookie cookie,
String value)
|
void |
RFC2109DomainHandler.parse(SetCookie cookie,
String value)
|
void |
BasicDomainHandler.parse(SetCookie cookie,
String value)
|
void |
BasicMaxAgeHandler.parse(SetCookie cookie,
String value)
|
static Date |
DateUtils.parseDate(String dateValue)
Parses a date value. |
static Date |
DateUtils.parseDate(String dateValue,
String[] dateFormats)
Parses the date value using the given date formats. |
static Date |
DateUtils.parseDate(String dateValue,
String[] dateFormats)
Parses the date value using the given date formats. |
static Date |
DateUtils.parseDate(String dateValue,
String[] dateFormats,
Date startDate)
Parses the date value using the given date formats. |
static Date |
DateUtils.parseDate(String dateValue,
String[] dateFormats,
Date startDate)
Parses the date value using the given date formats. |
void |
AbstractCookieSpec.registerAttribHandler(String name,
CookieAttributeHandler handler)
|
void |
BasicClientCookie.setAttribute(String name,
String value)
|
void |
BasicClientCookie.setComment(String comment)
If a user agent (web browser) presents this cookie to a user, the cookie's purpose will be described using this comment. |
void |
BasicClientCookie2.setCommentURL(String commentURL)
|
void |
BasicClientCookie.setDomain(String domain)
Sets the domain attribute. |
void |
BasicClientCookie.setPath(String path)
Sets the path attribute. |
void |
BasicClientCookie.setValue(String value)
Sets the value |
| Constructors in org.apache.http.impl.cookie with parameters of type String | |
|---|---|
BasicClientCookie(String name,
String value)
Default Constructor taking a name and a value. |
|
BasicClientCookie2(String name,
String value)
Default Constructor taking a name and a value. |
|
BasicExpiresHandler(String[] datepatterns)
|
|
BestMatchSpec(String[] datepatterns,
boolean oneHeader)
|
|
BrowserCompatSpec(String[] datepatterns)
Default constructor |
|
DateParseException(String message)
|
|
NetscapeDraftSpec(String[] datepatterns)
Default constructor |
|
RFC2109Spec(String[] datepatterns,
boolean oneHeader)
Default constructor |
|
RFC2965Spec(String[] datepatterns,
boolean oneHeader)
|
|
| Uses of String in org.apache.http.impl.io |
|---|
| Methods in org.apache.http.impl.io that return String | |
|---|---|
String |
AbstractSessionInputBuffer.readLine()
|
| Methods in org.apache.http.impl.io with parameters of type String | |
|---|---|
void |
AbstractSessionOutputBuffer.writeLine(String s)
|
| Uses of String in org.apache.http.io |
|---|
| Methods in org.apache.http.io that return String | |
|---|---|
String |
SessionInputBuffer.readLine()
|
| Methods in org.apache.http.io with parameters of type String | |
|---|---|
void |
SessionOutputBuffer.writeLine(String s)
|
| Uses of String in org.apache.http.message |
|---|
| Fields in org.apache.http.message declared as String | |
|---|---|
protected String |
BasicTokenIterator.currentHeader
The value of the current header. |
protected String |
BasicTokenIterator.currentToken
The token to be returned by the next call to BasicTokenIterator.currentToken. |
protected String |
BasicListHeaderIterator.headerName
The header name to filter by. |
protected String |
BasicHeaderIterator.headerName
The header name to filter by. |
static String |
BasicTokenIterator.HTTP_SEPARATORS
The HTTP separator characters. |
static String |
BasicHeaderValueFormatter.SEPARATORS
Special characters that can be used as separators in HTTP parameters. |
static String |
BasicHeaderValueFormatter.UNSAFE_CHARS
Unsafe special characters that must be escaped using the backslash character |
| Methods in org.apache.http.message that return String | |
|---|---|
protected String |
BasicTokenIterator.createToken(String value,
int start,
int end)
Creates a new token to be returned. |
static String |
BasicHeaderValueFormatter.formatElements(HeaderElement[] elems,
boolean quote,
HeaderValueFormatter formatter)
Formats an array of header elements. |
static String |
BasicLineFormatter.formatHeader(Header header,
LineFormatter formatter)
Formats a header. |
static String |
BasicHeaderValueFormatter.formatHeaderElement(HeaderElement elem,
boolean quote,
HeaderValueFormatter formatter)
Formats a header element. |
static String |
BasicHeaderValueFormatter.formatNameValuePair(NameValuePair nvp,
boolean quote,
HeaderValueFormatter formatter)
Formats a name-value pair. |
static String |
BasicHeaderValueFormatter.formatParameters(NameValuePair[] nvps,
boolean quote,
HeaderValueFormatter formatter)
Formats a set of parameters. |
static String |
BasicLineFormatter.formatProtocolVersion(ProtocolVersion version,
LineFormatter formatter)
Formats a protocol version. |
static String |
BasicLineFormatter.formatRequestLine(RequestLine reqline,
LineFormatter formatter)
Formats a request line. |
static String |
BasicLineFormatter.formatStatusLine(StatusLine statline,
LineFormatter formatter)
Formats a status line. |
String |
BasicRequestLine.getMethod()
|
String |
BufferedHeader.getName()
|
String |
BasicHeader.getName()
Returns the header name. |
String |
BasicHeaderElement.getName()
Returns the name. |
String |
BasicNameValuePair.getName()
Returns the name. |
protected String |
BasicHttpResponse.getReason(int code)
Looks up a reason phrase. |
String |
BasicStatusLine.getReasonPhrase()
|
String |
BasicRequestLine.getUri()
|
String |
BufferedHeader.getValue()
|
String |
BasicHeader.getValue()
Returns the header value. |
String |
BasicHeaderElement.getValue()
Returns the value. |
String |
BasicNameValuePair.getValue()
Returns the value. |
String |
BasicTokenIterator.nextToken()
Obtains the next token from this iteration. |
String |
BasicStatusLine.toString()
|
String |
BasicRequestLine.toString()
|
String |
ParserCursor.toString()
|
String |
BufferedHeader.toString()
|
String |
BasicHeader.toString()
Returns a String representation of the header. |
String |
BasicHeaderElement.toString()
|
String |
BasicNameValuePair.toString()
Get a string representation of this pair. |
| Methods in org.apache.http.message with parameters of type String | |
|---|---|
void |
AbstractHttpMessage.addHeader(String name,
String value)
|
boolean |
AbstractHttpMessage.containsHeader(String name)
|
boolean |
HeaderGroup.containsHeader(String name)
Tests if headers with the given name are contained within this group. |
protected HeaderElement |
BasicHeaderValueParser.createHeaderElement(String name,
String value,
NameValuePair[] params)
Creates a header element. |
protected NameValuePair |
BasicHeaderValueParser.createNameValuePair(String name,
String value)
Creates a name-value pair. |
protected RequestLine |
BasicLineParser.createRequestLine(String method,
String uri,
ProtocolVersion ver)
Instantiates a new request line. |
protected StatusLine |
BasicLineParser.createStatusLine(ProtocolVersion ver,
int status,
String reason)
Instantiates a new status line. |
protected String |
BasicTokenIterator.createToken(String value,
int start,
int end)
Creates a new token to be returned. |
protected void |
BasicHeaderValueFormatter.doFormatValue(CharArrayBuffer buffer,
String value,
boolean quote)
Actually formats the value of a name-value pair. |
Header |
HeaderGroup.getCondensedHeader(String name)
Gets a header representing all of the header values with the given name. |
Header |
AbstractHttpMessage.getFirstHeader(String name)
|
Header |
HeaderGroup.getFirstHeader(String name)
Gets the first header with the given name. |
Header[] |
AbstractHttpMessage.getHeaders(String name)
|
Header[] |
HeaderGroup.getHeaders(String name)
Gets all of the headers with the given name. |
Header |
AbstractHttpMessage.getLastHeader(String name)
|
Header |
HeaderGroup.getLastHeader(String name)
Gets the last header with the given name. |
NameValuePair |
BasicHeaderElement.getParameterByName(String name)
Returns parameter with the given name, if found. |
HeaderIterator |
AbstractHttpMessage.headerIterator(String name)
|
HeaderIterator |
HeaderGroup.iterator(String name)
Returns an iterator over the headers with a given name in this group. |
static HeaderElement[] |
BasicHeaderValueParser.parseElements(String value,
HeaderValueParser parser)
Parses elements with the given parser. |
static Header |
BasicLineParser.parseHeader(String value,
LineParser parser)
|
static HeaderElement |
BasicHeaderValueParser.parseHeaderElement(String value,
HeaderValueParser parser)
Parses an element with the given parser. |
static NameValuePair |
BasicHeaderValueParser.parseNameValuePair(String value,
HeaderValueParser parser)
Parses a name-value-pair with the given parser. |
static NameValuePair[] |
BasicHeaderValueParser.parseParameters(String value,
HeaderValueParser parser)
Parses parameters with the given parser. |
static ProtocolVersion |
BasicLineParser.parseProtocolVersion(String value,
LineParser parser)
|
static RequestLine |
BasicLineParser.parseRequestLine(String value,
LineParser parser)
|
static StatusLine |
BasicLineParser.parseStatusLine(String value,
LineParser parser)
|
void |
AbstractHttpMessage.removeHeaders(String name)
|
void |
AbstractHttpMessage.setHeader(String name,
String value)
|
void |
BasicHttpResponse.setReasonPhrase(String reason)
|
void |
BasicHttpResponse.setStatusLine(ProtocolVersion ver,
int code,
String reason)
|
| Constructors in org.apache.http.message with parameters of type String | |
|---|---|
BasicHeader(String name,
String value)
Constructor with name and value |
|
BasicHeaderElement(String name,
String value)
Constructor with name and value. |
|
BasicHeaderElement(String name,
String value,
NameValuePair[] parameters)
Constructor with name, value and parameters. |
|
BasicHeaderIterator(Header[] headers,
String name)
Creates a new header iterator. |
|
BasicHttpEntityEnclosingRequest(String method,
String uri)
|
|
BasicHttpEntityEnclosingRequest(String method,
String uri,
ProtocolVersion ver)
|
|
BasicHttpRequest(String method,
String uri)
|
|
BasicHttpRequest(String method,
String uri,
ProtocolVersion ver)
|
|
BasicHttpResponse(ProtocolVersion ver,
int code,
String reason)
Creates a response from elements of a status line. |
|
BasicListHeaderIterator(List headers,
String name)
Creates a new header iterator. |
|
BasicNameValuePair(String name,
String value)
Default Constructor taking a name and a value. |
|
BasicRequestLine(String method,
String uri,
ProtocolVersion version)
|
|
BasicStatusLine(ProtocolVersion version,
int statusCode,
String reasonPhrase)
Creates a new status line with the given version, status, and reason. |
|
| Uses of String in org.apache.http.params |
|---|
| Fields in org.apache.http.params declared as String | |
|---|---|
static String |
CoreConnectionPNames.CONNECTION_TIMEOUT
Determines the timeout until a connection is etablished. |
static String |
CoreProtocolPNames.HTTP_CONTENT_CHARSET
Defines the charset to be used per default for encoding content body. |
static String |
CoreProtocolPNames.HTTP_ELEMENT_CHARSET
Defines the charset to be used for encoding HTTP protocol elements. |
static String |
CoreConnectionPNames.MAX_HEADER_COUNT
Determines the maximum HTTP header count allowed. |
static String |
CoreConnectionPNames.MAX_LINE_LENGTH
Determines the maximum line length limit. |
static String |
CoreProtocolPNames.ORIGIN_SERVER
Defines the content of the Server header. |
static String |
CoreProtocolPNames.PROTOCOL_VERSION
Defines the protocol version
used per default. |
static String |
CoreConnectionPNames.SO_LINGER
Sets SO_LINGER with the specified linger time in seconds. |
static String |
CoreConnectionPNames.SO_TIMEOUT
Defines the default socket timeout (SO_TIMEOUT) in milliseconds which is the timeout for waiting for data. |
static String |
CoreConnectionPNames.SOCKET_BUFFER_SIZE
Determines the size of the internal socket buffer used to buffer data while receiving / transmitting HTTP messages. |
static String |
CoreConnectionPNames.STALE_CONNECTION_CHECK
Determines whether stale connection check is to be used. |
static String |
CoreProtocolPNames.STRICT_TRANSFER_ENCODING
Defines whether responses with an invalid Transfer-Encoding header should be rejected. |
static String |
CoreConnectionPNames.TCP_NODELAY
Determines whether Nagle's algorithm is to be used. |
static String |
CoreProtocolPNames.USE_EXPECT_CONTINUE
Activates 'Expect: 100-Continue' handshake for the entity enclosing methods. |
static String |
CoreProtocolPNames.USER_AGENT
Defines the content of the User-Agent header. |
static String |
CoreProtocolPNames.WAIT_FOR_CONTINUE
Defines the maximum period of time in milliseconds the client should spend waiting for a 100-continue response. |
| Methods in org.apache.http.params that return String | |
|---|---|
static String |
HttpProtocolParams.getContentCharset(HttpParams params)
Returns the default charset to be used for writing content body, when no charset explicitly specified. |
static String |
HttpProtocolParams.getHttpElementCharset(HttpParams params)
Returns the charset to be used for writing HTTP headers. |
static String |
HttpProtocolParams.getUserAgent(HttpParams params)
|
| Methods in org.apache.http.params with parameters of type String | |
|---|---|
boolean |
HttpParams.getBooleanParameter(String name,
boolean defaultValue)
Returns a Boolean parameter value with the given name. |
boolean |
AbstractHttpParams.getBooleanParameter(String name,
boolean defaultValue)
|
double |
HttpParams.getDoubleParameter(String name,
double defaultValue)
Returns a Double parameter value with the given name. |
double |
AbstractHttpParams.getDoubleParameter(String name,
double defaultValue)
|
int |
HttpParams.getIntParameter(String name,
int defaultValue)
Returns an Integer parameter value with the given name. |
int |
AbstractHttpParams.getIntParameter(String name,
int defaultValue)
|
long |
HttpParams.getLongParameter(String name,
long defaultValue)
Returns a Long parameter value with the given name. |
long |
AbstractHttpParams.getLongParameter(String name,
long defaultValue)
|
Object |
HttpParams.getParameter(String name)
Obtains the value of the given parameter. |
Object |
DefaultedHttpParams.getParameter(String name)
Retrieves the value of the parameter from the local collection and, if the parameter is not set locally, delegates its resolution to the default collection. |
Object |
BasicHttpParams.getParameter(String name)
|
boolean |
HttpParams.isParameterFalse(String name)
Checks if a boolean parameter is not set or false. |
boolean |
AbstractHttpParams.isParameterFalse(String name)
|
boolean |
BasicHttpParams.isParameterSet(String name)
|
boolean |
BasicHttpParams.isParameterSetLocally(String name)
|
boolean |
HttpParams.isParameterTrue(String name)
Checks if a boolean parameter is set to true. |
boolean |
AbstractHttpParams.isParameterTrue(String name)
|
boolean |
HttpParams.removeParameter(String name)
Removes the parameter with the specified name. |
boolean |
DefaultedHttpParams.removeParameter(String name)
Attempts to remove the parameter from the local collection. |
boolean |
BasicHttpParams.removeParameter(String name)
|
HttpParams |
HttpParams.setBooleanParameter(String name,
boolean value)
Assigns a Boolean to the parameter with the given name |
HttpParams |
AbstractHttpParams.setBooleanParameter(String name,
boolean value)
|
static void |
HttpProtocolParams.setContentCharset(HttpParams params,
String charset)
Sets the default charset to be used for writing content body, when no charset explicitly specified. |
void |
HttpProtocolParamBean.setContentCharset(String contentCharset)
|
HttpParams |
HttpParams.setDoubleParameter(String name,
double value)
Assigns a Double to the parameter with the given name |
HttpParams |
AbstractHttpParams.setDoubleParameter(String name,
double value)
|
static void |
HttpProtocolParams.setHttpElementCharset(HttpParams params,
String charset)
Sets the charset to be used for writing HTTP headers. |
void |
HttpProtocolParamBean.setHttpElementCharset(String httpElementCharset)
|
HttpParams |
HttpParams.setIntParameter(String name,
int value)
Assigns an Integer to the parameter with the given name |
HttpParams |
AbstractHttpParams.setIntParameter(String name,
int value)
|
HttpParams |
HttpParams.setLongParameter(String name,
long value)
Assigns a Long to the parameter with the given name |
HttpParams |
AbstractHttpParams.setLongParameter(String name,
long value)
|
HttpParams |
HttpParams.setParameter(String name,
Object value)
Assigns the value to the parameter with the given name. |
HttpParams |
DefaultedHttpParams.setParameter(String name,
Object value)
Sets the parameter in the local collection. |
HttpParams |
BasicHttpParams.setParameter(String name,
Object value)
|
void |
BasicHttpParams.setParameters(String[] names,
Object value)
Assigns the value to all the parameter with the given names |
static void |
HttpProtocolParams.setUserAgent(HttpParams params,
String useragent)
|
void |
HttpProtocolParamBean.setUserAgent(String userAgent)
|
| Uses of String in org.apache.http.protocol |
|---|
| Fields in org.apache.http.protocol declared as String | |
|---|---|
static String |
HTTP.ASCII
|
static String |
HTTP.CHARSET_PARAM
|
static String |
HTTP.CHUNK_CODING
Transfer encoding definitions |
static String |
HTTP.CONN_CLOSE
HTTP connection control |
static String |
HTTP.CONN_DIRECTIVE
|
static String |
HTTP.CONN_KEEP_ALIVE
|
static String |
HTTP.CONTENT_ENCODING
|
static String |
HTTP.CONTENT_LEN
|
static String |
HTTP.CONTENT_TYPE
|
static String |
HTTP.DATE_HEADER
|
static String |
HTTP.DEFAULT_CONTENT_CHARSET
Default charsets |
static String |
HTTP.DEFAULT_CONTENT_TYPE
Default content type |
static String |
HTTP.DEFAULT_PROTOCOL_CHARSET
|
static String |
HTTP.EXPECT_CONTINUE
HTTP expectations |
static String |
HTTP.EXPECT_DIRECTIVE
|
static String |
ExecutionContext.HTTP_CONNECTION
|
static String |
ExecutionContext.HTTP_PROXY_HOST
|
static String |
ExecutionContext.HTTP_REQ_SENT
|
static String |
ExecutionContext.HTTP_REQUEST
|
static String |
ExecutionContext.HTTP_RESPONSE
|
static String |
ExecutionContext.HTTP_TARGET_HOST
|
static String |
HTTP.IDENTITY_CODING
|
static String |
HTTP.ISO_8859_1
|
static String |
HTTP.OCTET_STREAM_TYPE
Content type definitions |
static String |
HttpDateGenerator.PATTERN_RFC1123
Date format pattern used to generate the header in RFC 1123 format. |
static String |
HTTP.PLAIN_TEXT_TYPE
|
static String |
HttpContext.RESERVED_PREFIX
The prefix reserved for use by HTTP components. |
static String |
HTTP.SERVER_HEADER
|
static String |
HTTP.TARGET_HOST
|
static String |
HTTP.TRANSFER_ENCODING
HTTP header definitions |
static String |
HTTP.US_ASCII
|
static String |
HTTP.USER_AGENT
|
static String |
HTTP.UTF_16
|
static String |
HTTP.UTF_8
Common charset definitions |
| Methods in org.apache.http.protocol that return String | |
|---|---|
String |
HttpDateGenerator.getCurrentDate()
|
| Methods in org.apache.http.protocol with parameters of type String | |
|---|---|
Object |
BasicHttpContext.getAttribute(String id)
|
Object |
DefaultedHttpContext.getAttribute(String id)
|
Object |
SyncBasicHttpContext.getAttribute(String id)
|
Object |
HttpContext.getAttribute(String id)
|
Object |
UriPatternMatcher.lookup(String requestURI)
|
HttpRequestHandler |
HttpRequestHandlerRegistry.lookup(String requestURI)
|
HttpRequestHandler |
HttpRequestHandlerResolver.lookup(String requestURI)
|
protected boolean |
UriPatternMatcher.matchUriRequestPattern(String pattern,
String requestUri)
|
protected boolean |
HttpRequestHandlerRegistry.matchUriRequestPattern(String pattern,
String requestUri)
Deprecated. |
void |
HttpRequestHandlerRegistry.register(String pattern,
HttpRequestHandler handler)
|
void |
UriPatternMatcher.register(String pattern,
Object handler)
|
Object |
BasicHttpContext.removeAttribute(String id)
|
Object |
DefaultedHttpContext.removeAttribute(String id)
|
Object |
SyncBasicHttpContext.removeAttribute(String id)
|
Object |
HttpContext.removeAttribute(String id)
|
void |
BasicHttpContext.setAttribute(String id,
Object obj)
|
void |
DefaultedHttpContext.setAttribute(String id,
Object obj)
|
void |
SyncBasicHttpContext.setAttribute(String id,
Object obj)
|
void |
HttpContext.setAttribute(String id,
Object obj)
|
void |
UriPatternMatcher.unregister(String pattern)
|
void |
HttpRequestHandlerRegistry.unregister(String pattern)
|
| Uses of String in org.apache.http.util |
|---|
| Fields in org.apache.http.util declared as String | |
|---|---|
static String |
VersionInfo.PROPERTY_MODULE
|
static String |
VersionInfo.PROPERTY_RELEASE
|
static String |
VersionInfo.PROPERTY_TIMESTAMP
|
static String |
VersionInfo.UNAVAILABLE
A string constant for unavailable information. |
static String |
VersionInfo.VERSION_PROPERTY_FILE
The filename of the version information files. |
| Methods in org.apache.http.util that return String | |
|---|---|
static String |
EncodingUtils.getAsciiString(byte[] data)
Converts the byte array of ASCII characters to a string. |
static String |
EncodingUtils.getAsciiString(byte[] data,
int offset,
int length)
Converts the byte array of ASCII characters to a string. |
String |
VersionInfo.getClassloader()
Obtains the classloader used to read the version information. |
static String |
EntityUtils.getContentCharSet(HttpEntity entity)
|
String |
VersionInfo.getModule()
Obtains the name of the versioned module or informal unit. |
String |
VersionInfo.getPackage()
Obtains the package name. |
String |
VersionInfo.getRelease()
Obtains the release of the versioned module or informal unit. |
static String |
EncodingUtils.getString(byte[] data,
int offset,
int length,
String charset)
Converts the byte array of HTTP content characters to a string. |
static String |
EncodingUtils.getString(byte[] data,
String charset)
Converts the byte array of HTTP content characters to a string. |
String |
VersionInfo.getTimestamp()
Obtains the timestamp of the versioned module or informal unit. |
String |
CharArrayBuffer.substring(int beginIndex,
int endIndex)
|
String |
CharArrayBuffer.substringTrimmed(int beginIndex,
int endIndex)
|
String |
CharArrayBuffer.toString()
|
String |
VersionInfo.toString()
Provides the version information in human-readable format. |
static String |
EntityUtils.toString(HttpEntity entity)
|
static String |
EntityUtils.toString(HttpEntity entity,
String defaultCharset)
|
| Methods in org.apache.http.util with parameters of type String | |
|---|---|
void |
CharArrayBuffer.append(String str)
|
protected static VersionInfo |
VersionInfo.fromMap(String pckg,
Map info,
ClassLoader clsldr)
Instantiates version information from properties. |
static byte[] |
EncodingUtils.getAsciiBytes(String data)
Converts the specified string to byte array of ASCII characters. |
static byte[] |
EncodingUtils.getBytes(String data,
String charset)
Converts the specified string to a byte array. |
static String |
EncodingUtils.getString(byte[] data,
int offset,
int length,
String charset)
Converts the byte array of HTTP content characters to a string. |
static String |
EncodingUtils.getString(byte[] data,
String charset)
Converts the byte array of HTTP content characters to a string. |
static VersionInfo[] |
VersionInfo.loadVersionInfo(String[] pckgs,
ClassLoader clsldr)
Loads version information for a list of packages. |
static VersionInfo |
VersionInfo.loadVersionInfo(String pckg,
ClassLoader clsldr)
Loads version information for a package. |
static String |
EntityUtils.toString(HttpEntity entity,
String defaultCharset)
|
| Constructors in org.apache.http.util with parameters of type String | |
|---|---|
VersionInfo(String pckg,
String module,
String release,
String time,
String clsldr)
Instantiates version information. |
|
| Uses of String in org.json |
|---|
| Methods in org.json that return String | |
|---|---|
String |
JSONArray.getString(int index)
Get the string associated with an index. |
String |
JSONObject.getString(String key)
Get the string associated with a key. |
String |
JSONArray.join(String separator)
Make a string from the contents of this JSONArray. |
String |
JSONTokener.next(int n)
Get the next n characters. |
String |
JSONTokener.nextString(char quote)
Return the characters up to the next close quote character. |
String |
JSONTokener.nextTo(char d)
Get the text up but not including the specified character or the end of line, whichever comes first. |
String |
JSONTokener.nextTo(String delimiters)
Get the text up but not including one of the specified delimeter characters or the end of line, whichever comes first. |
static String |
JSONObject.numberToString(Number n)
Produce a string from a number. |
String |
JSONArray.optString(int index)
Get the optional string value associated with an index. |
String |
JSONArray.optString(int index,
String defaultValue)
Get the optional string associated with an index. |
String |
JSONObject.optString(String key)
Get an optional string associated with a key. |
String |
JSONObject.optString(String key,
String defaultValue)
Get an optional string associated with a key. |
static String |
JSONObject.quote(String string)
Produce a string in double quotes with backslash sequences in all the right places. |
String |
JSONTokener.toString()
Make a printable string of this JSONTokener. |
String |
JSONObject.toString()
Make an JSON text of this JSONObject. |
String |
JSONStringer.toString()
Return the JSON text. |
String |
JSONArray.toString()
Make an JSON text of this JSONArray. |
String |
JSONObject.toString(int indentFactor)
Make a prettyprinted JSON text of this JSONObject. |
String |
JSONArray.toString(int indentFactor)
Make a prettyprinted JSON text of this JSONArray. |
(package private) String |
JSONObject.toString(int indentFactor,
int indent)
Make a prettyprinted JSON text of this JSONObject. |
(package private) String |
JSONArray.toString(int indentFactor,
int indent)
Make a prettyprinted JSON text of this JSONArray. |
(package private) static String |
JSONObject.valueToString(Object value)
Make a JSON text of an object value. |
(package private) static String |
JSONObject.valueToString(Object value,
int indentFactor,
int indent)
Make a prettyprinted JSON text of an object value. |
| Methods in org.json with parameters of type String | |
|---|---|
JSONObject |
JSONObject.accumulate(String key,
Object value)
Accumulate values under a key. |
Object |
JSONObject.get(String key)
Get the value object associated with a key. |
boolean |
JSONObject.getBoolean(String key)
Get the boolean value associated with a key. |
double |
JSONObject.getDouble(String key)
Get the double value associated with a key. |
int |
JSONObject.getInt(String key)
Get the int value associated with a key. |
JSONArray |
JSONObject.getJSONArray(String key)
Get the JSONArray value associated with a key. |
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key. |
long |
JSONObject.getLong(String key)
Get the long value associated with a key. |
String |
JSONObject.getString(String key)
Get the string associated with a key. |
boolean |
JSONObject.has(String key)
Determine if the JSONObject contains a specific key. |
boolean |
JSONObject.isNull(String key)
Determine if the value associated with the key is null or if there is no value. |
String |
JSONArray.join(String separator)
Make a string from the contents of this JSONArray. |
JSONStringer |
JSONStringer.key(String s)
Append a key. |
String |
JSONTokener.nextTo(String delimiters)
Get the text up but not including one of the specified delimeter characters or the end of line, whichever comes first. |
Object |
JSONObject.opt(String key)
Get an optional value associated with a key. |
boolean |
JSONObject.optBoolean(String key)
Get an optional boolean associated with a key. |
boolean |
JSONObject.optBoolean(String key,
boolean defaultValue)
Get an optional boolean associated with a key. |
double |
JSONObject.optDouble(String key)
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number. |
double |
JSONObject.optDouble(String key,
double defaultValue)
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number. |
int |
JSONObject.optInt(String key)
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number. |
int |
JSONObject.optInt(String key,
int defaultValue)
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number. |
JSONArray |
JSONObject.optJSONArray(String key)
Get an optional JSONArray associated with a key. |
JSONObject |
JSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key. |
long |
JSONObject.optLong(String key)
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number. |
long |
JSONObject.optLong(String key,
long defaultValue)
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number. |
String |
JSONArray.optString(int index,
String defaultValue)
Get the optional string associated with an index. |
String |
JSONObject.optString(String key)
Get an optional string associated with a key. |
String |
JSONObject.optString(String key,
String defaultValue)
Get an optional string associated with a key. |
JSONObject |
JSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject. |
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject. |
JSONObject |
JSONObject.putOpt(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null. |
static String |
JSONObject.quote(String string)
Produce a string in double quotes with backslash sequences in all the right places. |
Object |
JSONObject.remove(String key)
Remove a name and its value, if present. |
void |
JSONTokener.skipPast(String to)
Skip characters until past the requested string. |
JSONException |
JSONTokener.syntaxError(String message)
Make a JSONException to signal a syntax error. |
| Constructors in org.json with parameters of type String | |
|---|---|
JSONArray(String string)
Construct a JSONArray from a source sJSON text. |
|
JSONException(String message)
Constructs a JSONException with an explanatory message. |
|
JSONObject(JSONObject jo,
String[] sa)
Construct a JSONObject from a subset of another JSONObject. |
|
JSONObject(String string)
Construct a JSONObject from a string. |
|
JSONTokener(String s)
Construct a JSONTokener from a string. |
|
| Uses of String in org.w3c.dom |
|---|
| Methods in org.w3c.dom that return String | |
|---|---|
String |
Element.getAttribute(String name)
Retrieves an attribute value by name. |
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI. |
String |
CharacterData.getData()
Returns the character data of the node that implements this interface. |
String |
ProcessingInstruction.getData()
Returns the content of this processing instruction. |
String |
DocumentType.getInternalSubset()
The internal subset as a string. |
String |
Node.getLocalName()
Returns the local part of the qualified name of this node. |
String |
DocumentType.getName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword. |
String |
Attr.getName()
Returns the name of this attribute. |
String |
Node.getNamespaceURI()
The namespace URI of this node, or null if it is
unspecified. |
String |
Node.getNodeName()
The name of this node, depending on its type; see the table above. |
String |
Node.getNodeValue()
Returns the value of this node, depending on its type; see the table above. |
String |
Entity.getNotationName()
For unparsed entities, the name of the notation for the entity. |
String |
Node.getPrefix()
Returns the namespace prefix of this node, or null if it is
unspecified. |
String |
Entity.getPublicId()
The public identifier associated with the entity, if specified. |
String |
DocumentType.getPublicId()
The public identifier of the external subset. |
String |
Notation.getPublicId()
The public identifier of this notation. |
String |
Entity.getSystemId()
The system identifier associated with the entity, if specified. |
String |
DocumentType.getSystemId()
The system identifier of the external subset. |
String |
Notation.getSystemId()
The system identifier of this notation. |
String |
Element.getTagName()
The name of the element. |
String |
ProcessingInstruction.getTarget()
The target of this processing instruction. |
String |
Attr.getValue()
Returns the value of the attribute is returned as a string. |
String |
CharacterData.substringData(int offset,
int count)
Extracts a range of data from the node. |
| Methods in org.w3c.dom with parameters of type String | |
|---|---|
void |
CharacterData.appendData(String arg)
Append the string to the end of the character data of the node. |
Attr |
Document.createAttribute(String name)
Creates an Attr of the given name. |
Attr |
Document.createAttributeNS(String namespaceURI,
String qualifiedName)
Creates an attribute of the given qualified name and namespace URI. |
CDATASection |
Document.createCDATASection(String data)
Creates a CDATASection node whose value is the specified
string. |
Comment |
Document.createComment(String data)
Creates a Comment node given the specified string. |
Document |
DOMImplementation.createDocument(String namespaceURI,
String qualifiedName,
DocumentType doctype)
Creates an XML Document object of the specified type with
its document element. |
DocumentType |
DOMImplementation.createDocumentType(String qualifiedName,
String publicId,
String systemId)
Creates an empty DocumentType node. |
Element |
Document.createElement(String tagName)
Creates an element of the type specified. |
Element |
Document.createElementNS(String namespaceURI,
String qualifiedName)
Creates an element of the given qualified name and namespace URI. |
EntityReference |
Document.createEntityReference(String name)
Creates an EntityReference object. |
ProcessingInstruction |
Document.createProcessingInstruction(String target,
String data)
Creates a ProcessingInstruction node given the specified
name and data strings. |
Text |
Document.createTextNode(String data)
Creates a Text node given the specified string. |
String |
Element.getAttribute(String name)
Retrieves an attribute value by name. |
Attr |
Element.getAttributeNode(String name)
Retrieves an attribute node by name. |
Attr |
Element.getAttributeNodeNS(String namespaceURI,
String localName)
Retrieves an Attr node by local name and namespace URI. |
String |
Element.getAttributeNS(String namespaceURI,
String localName)
Retrieves an attribute value by local name and namespace URI. |
Element |
Document.getElementById(String elementId)
Returns the Element whose ID is given by
elementId. |
NodeList |
Document.getElementsByTagName(String tagname)
Returns a NodeList of all the Elements with a
given tag name in the order in which they are encountered in a
preorder traversal of the Document tree. |
NodeList |
Element.getElementsByTagName(String name)
Returns a NodeList of all descendant Elements
with a given tag name, in the order in which they are encountered in
a preorder traversal of this Element tree. |
NodeList |
Document.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a NodeList of all the Elements with a
given local name and namespace URI in the order in which they are
encountered in a preorder traversal of the Document tree. |
NodeList |
Element.getElementsByTagNameNS(String namespaceURI,
String localName)
Returns a NodeList of all the descendant
Elements with a given local name and namespace URI in
the order in which they are encountered in a preorder traversal of
this Element tree. |
Node |
NamedNodeMap.getNamedItem(String name)
Retrieves a node specified by name. |
Node |
NamedNodeMap.getNamedItemNS(String namespaceURI,
String localName)
Retrieves a node specified by local name and namespace URI. |
boolean |
Element.hasAttribute(String name)
Returns true when an attribute with a given name is
specified on this element or has a default value, false
otherwise. |
boolean |
Element.hasAttributeNS(String namespaceURI,
String localName)
Returns true when an attribute with a given local name and
namespace URI is specified on this element or has a default value,
false otherwise. |
boolean |
DOMImplementation.hasFeature(String feature,
String version)
Test if the DOM implementation implements a specific feature. |
void |
CharacterData.insertData(int offset,
String arg)
Insert a string at the specified 16-bit unit offset. |
boolean |
Node.isSupported(String feature,
String version)
Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. |
void |
Element.removeAttribute(String name)
Removes an attribute by name. |
void |
Element.removeAttributeNS(String namespaceURI,
String localName)
Removes an attribute by local name and namespace URI. |
Node |
NamedNodeMap.removeNamedItem(String name)
Removes a node specified by name. |
Node |
NamedNodeMap.removeNamedItemNS(String namespaceURI,
String localName)
Removes a node specified by local name and namespace URI. |
void |
CharacterData.replaceData(int offset,
int count,
String arg)
Replace the characters starting at the specified 16-bit unit offset with the specified string. |
void |
Element.setAttribute(String name,
String value)
Adds a new attribute. |
void |
Element.setAttributeNS(String namespaceURI,
String qualifiedName,
String value)
Adds a new attribute. |
void |
CharacterData.setData(String data)
Sets the character data of the node that implements this interface. |
void |
ProcessingInstruction.setData(String data)
Sets the content of this processing instruction. |
void |
Node.setNodeValue(String nodeValue)
Sets the value of this node, depending on its type; see the table above. |
void |
Node.setPrefix(String prefix)
Sets the namespace prefix of this node. |
void |
Attr.setValue(String value)
Sets the value of the attribute. |
| Constructors in org.w3c.dom with parameters of type String | |
|---|---|
DOMException(short code,
String message)
Creates a new DOMException with the given error code and
human-readable message. |
|
| Uses of String in org.xml.sax |
|---|
| Methods in org.xml.sax that return String | |
|---|---|
String |
InputSource.getEncoding()
Get the character encoding for a byte stream or URI. |
String |
Attributes.getLocalName(int index)
Look up an attribute's local name by index. |
String |
SAXException.getMessage()
Return a detail message for this exception. |
String |
AttributeList.getName(int i)
Deprecated. Return the name of an attribute in this list (by position). |
String |
InputSource.getPublicId()
Get the public identifier for this input source. |
String |
SAXParseException.getPublicId()
Get the public identifier of the entity where the exception occurred. |
String |
Locator.getPublicId()
Return the public identifier for the current document event. |
String |
Attributes.getQName(int index)
Look up an attribute's XML qualified (prefixed) name by index. |
String |
InputSource.getSystemId()
Get the system identifier for this input source. |
String |
SAXParseException.getSystemId()
Get the system identifier of the entity where the exception occurred. |
String |
Locator.getSystemId()
Return the system identifier for the current document event. |
String |
Attributes.getType(int index)
Look up an attribute's type by index. |
String |
AttributeList.getType(int i)
Deprecated. Return the type of an attribute in the list (by position). |
String |
Attributes.getType(String qName)
Look up an attribute's type by XML qualified (prefixed) name. |
String |
AttributeList.getType(String name)
Deprecated. Return the type of an attribute in the list (by name). |
String |
Attributes.getType(String uri,
String localName)
Look up an attribute's type by Namespace name. |
String |
Attributes.getURI(int index)
Look up an attribute's Namespace URI by index. |
String |
Attributes.getValue(int index)
Look up an attribute's value by index. |
String |
AttributeList.getValue(int i)
Deprecated. Return the value of an attribute in the list (by position). |
String |
Attributes.getValue(String qName)
Look up an attribute's value by XML qualified (prefixed) name. |
String |
AttributeList.getValue(String name)
Deprecated. Return the value of an attribute in the list (by name). |
String |
Attributes.getValue(String uri,
String localName)
Look up an attribute's value by Namespace name. |
String |
SAXException.toString()
Override toString to pick up any embedded exception. |
| Methods in org.xml.sax with parameters of type String | |
|---|---|
void |
HandlerBase.endElement(String name)
Deprecated. Receive notification of the end of an element. |
void |
DocumentHandler.endElement(String name)
Deprecated. Receive notification of the end of an element. |
void |
ContentHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element. |
void |
ContentHandler.endPrefixMapping(String prefix)
End the scope of a prefix-URI mapping. |
boolean |
XMLReader.getFeature(String name)
Look up the value of a feature flag. |
int |
Attributes.getIndex(String qName)
Look up the index of an attribute by XML qualified (prefixed) name. |
int |
Attributes.getIndex(String uri,
String localName)
Look up the index of an attribute by Namespace name. |
Object |
XMLReader.getProperty(String name)
Look up the value of a property. |
String |
Attributes.getType(String qName)
Look up an attribute's type by XML qualified (prefixed) name. |
String |
AttributeList.getType(String name)
Deprecated. Return the type of an attribute in the list (by name). |
String |
Attributes.getType(String uri,
String localName)
Look up an attribute's type by Namespace name. |
String |
Attributes.getValue(String qName)
Look up an attribute's value by XML qualified (prefixed) name. |
String |
AttributeList.getValue(String name)
Deprecated. Return the value of an attribute in the list (by name). |
String |
Attributes.getValue(String uri,
String localName)
Look up an attribute's value by Namespace name. |
void |
DTDHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration event. |
void |
HandlerBase.notationDecl(String name,
String publicId,
String systemId)
Deprecated. Receive notification of a notation declaration. |
void |
Parser.parse(String systemId)
Deprecated. Parse an XML document from a system identifier (URI). |
void |
XMLReader.parse(String systemId)
Parse an XML document from a system identifier (URI). |
void |
ContentHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction. |
void |
HandlerBase.processingInstruction(String target,
String data)
Deprecated. Receive notification of a processing instruction. |
void |
DocumentHandler.processingInstruction(String target,
String data)
Deprecated. Receive notification of a processing instruction. |
InputSource |
EntityResolver.resolveEntity(String publicId,
String systemId)
Allow the application to resolve external entities. |
InputSource |
HandlerBase.resolveEntity(String publicId,
String systemId)
Deprecated. Resolve an external entity. |
void |
InputSource.setEncoding(String encoding)
Set the character encoding, if known. |
void |
XMLReader.setFeature(String name,
boolean value)
Set the value of a feature flag. |
void |
XMLReader.setProperty(String name,
Object value)
Set the value of a property. |
void |
InputSource.setPublicId(String publicId)
Set the public identifier for this input source. |
void |
InputSource.setSystemId(String systemId)
Set the system identifier for this input source. |
void |
ContentHandler.skippedEntity(String name)
Receive notification of a skipped entity. |
void |
HandlerBase.startElement(String name,
AttributeList attributes)
Deprecated. Receive notification of the start of an element. |
void |
DocumentHandler.startElement(String name,
AttributeList atts)
Deprecated. Receive notification of the beginning of an element. |
void |
ContentHandler.startElement(String uri,
String localName,
String qName,
Attributes atts)
Receive notification of the beginning of an element. |
void |
ContentHandler.startPrefixMapping(String prefix,
String uri)
Begin the scope of a prefix-URI Namespace mapping. |
void |
DTDHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration event. |
void |
HandlerBase.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Deprecated. Receive notification of an unparsed entity declaration. |
| Constructors in org.xml.sax with parameters of type String | |
|---|---|
InputSource(String systemId)
Create a new input source with a system identifier. |
|
SAXException(String message)
Create a new SAXException. |
|
SAXException(String message,
Exception e)
Create a new SAXException from an existing exception. |
|
SAXNotRecognizedException(String message)
Construct a new exception with the given message. |
|
SAXNotSupportedException(String message)
Construct a new exception with the given message. |
|
SAXParseException(String message,
Locator locator)
Create a new SAXParseException from a message and a Locator. |
|
SAXParseException(String message,
Locator locator,
Exception e)
Wrap an existing exception in a SAXParseException. |
|
SAXParseException(String message,
String publicId,
String systemId,
int lineNumber,
int columnNumber)
Create a new SAXParseException. |
|
SAXParseException(String message,
String publicId,
String systemId,
int lineNumber,
int columnNumber,
Exception e)
Create a new SAXParseException with an embedded exception. |
|
| Uses of String in org.xml.sax.ext |
|---|
| Methods in org.xml.sax.ext that return String | |
|---|---|
String |
Locator2Impl.getEncoding()
Returns the current value of the encoding property. |
String |
Locator2.getEncoding()
Returns the name of the character encoding for the entity. |
String |
Locator2Impl.getXMLVersion()
Returns the current value of the version property. |
String |
Locator2.getXMLVersion()
Returns the version of XML used for the entity. |
| Methods in org.xml.sax.ext with parameters of type String | |
|---|---|
void |
Attributes2Impl.addAttribute(String uri,
String localName,
String qName,
String type,
String value)
Add an attribute to the end of the list, setting its "specified" flag to true. |
void |
DefaultHandler2.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
|
void |
DeclHandler.attributeDecl(String eName,
String aName,
String type,
String mode,
String value)
Report an attribute type declaration. |
void |
DefaultHandler2.elementDecl(String name,
String model)
|
void |
DeclHandler.elementDecl(String name,
String model)
Report an element type declaration. |
void |
DefaultHandler2.endEntity(String name)
|
void |
LexicalHandler.endEntity(String name)
Report the end of an entity. |
void |
DefaultHandler2.externalEntityDecl(String name,
String publicId,
String systemId)
|
void |
DeclHandler.externalEntityDecl(String name,
String publicId,
String systemId)
Report a parsed external entity declaration. |
InputSource |
DefaultHandler2.getExternalSubset(String name,
String baseURI)
Tells the parser that if no external subset has been declared in the document text, none should be used. |
InputSource |
EntityResolver2.getExternalSubset(String name,
String baseURI)
Allows applications to provide an external subset for documents that don't explicitly define one. |
void |
DefaultHandler2.internalEntityDecl(String name,
String value)
|
void |
DeclHandler.internalEntityDecl(String name,
String value)
Report an internal entity declaration. |
boolean |
Attributes2Impl.isDeclared(String qName)
|
boolean |
Attributes2.isDeclared(String qName)
Returns false unless the attribute was declared in the DTD. |
boolean |
Attributes2Impl.isDeclared(String uri,
String localName)
|
boolean |
Attributes2.isDeclared(String uri,
String localName)
Returns false unless the attribute was declared in the DTD. |
boolean |
Attributes2Impl.isSpecified(String qName)
Returns the current value of an attribute's "specified" flag. |
boolean |
Attributes2.isSpecified(String qName)
Returns true unless the attribute value was provided by DTD defaulting. |
boolean |
Attributes2Impl.isSpecified(String uri,
String localName)
Returns the current value of an attribute's "specified" flag. |
boolean |
Attributes2.isSpecified(String uri,
String localName)
Returns true unless the attribute value was provided by DTD defaulting. |
InputSource |
DefaultHandler2.resolveEntity(String publicId,
String systemId)
Invokes EntityResolver2.resolveEntity()
with null entity name and base URI. |
InputSource |
DefaultHandler2.resolveEntity(String name,
String publicId,
String baseURI,
String systemId)
Tells the parser to resolve the systemId against the baseURI and read the entity text from that resulting absolute URI. |
InputSource |
EntityResolver2.resolveEntity(String name,
String publicId,
String baseURI,
String systemId)
Allows applications to map references to external entities into input sources, or tell the parser it should use conventional URI resolution. |
void |
Locator2Impl.setEncoding(String encoding)
Assigns the current value of the encoding property. |
void |
Locator2Impl.setXMLVersion(String version)
Assigns the current value of the version property. |
void |
DefaultHandler2.startDTD(String name,
String publicId,
String systemId)
|
void |
LexicalHandler.startDTD(String name,
String publicId,
String systemId)
Report the start of DTD declarations, if any. |
void |
DefaultHandler2.startEntity(String name)
|
void |
LexicalHandler.startEntity(String name)
Report the beginning of some internal and external XML entities. |
| Uses of String in org.xml.sax.helpers |
|---|
| Fields in org.xml.sax.helpers declared as String | |
|---|---|
(package private) String[] |
AttributesImpl.data
|
(package private) String |
NamespaceSupport.Context.defaultNS
|
static String |
NamespaceSupport.NSDECL
The namespace declaration URI as a constant. |
static String |
NamespaceSupport.XMLNS
The XML Namespace URI as a constant. |
| Methods in org.xml.sax.helpers that return String | |
|---|---|
String |
ParserAdapter.AttributeListAdapter.getLocalName(int i)
Return the local name of the specified attribute. |
String |
AttributesImpl.getLocalName(int index)
Return an attribute's local name. |
String |
XMLReaderAdapter.AttributesAdapter.getName(int i)
Return the qualified (prefixed) name of an attribute by position. |
String |
AttributeListImpl.getName(int i)
Deprecated. Get the name of an attribute (by position). |
String |
NamespaceSupport.getPrefix(String uri)
Return one of the prefixes mapped to a Namespace URI. |
(package private) String |
NamespaceSupport.Context.getPrefix(String uri)
Look up one of the prefixes associated with a URI in this context. |
String |
LocatorImpl.getPublicId()
Return the saved public identifier. |
String |
ParserAdapter.AttributeListAdapter.getQName(int i)
Return the qualified (prefixed) name of the specified attribute. |
String |
AttributesImpl.getQName(int index)
Return an attribute's qualified (prefixed) name. |
String |
LocatorImpl.getSystemId()
Return the saved system identifier. |
String |
ParserAdapter.AttributeListAdapter.getType(int i)
Return the type of the specified attribute. |
String |
XMLReaderAdapter.AttributesAdapter.getType(int i)
Return the type of an attribute by position. |
String |
AttributeListImpl.getType(int i)
Deprecated. Get the type of an attribute (by position). |
String |
AttributesImpl.getType(int index)
Return an attribute's type by index. |
String |
ParserAdapter.AttributeListAdapter.getType(String qName)
Look up the type of an attribute by qualified (prefixed) name. |
String |
XMLReaderAdapter.AttributesAdapter.getType(String qName)
Return the type of an attribute by qualified (prefixed) name. |
String |
AttributeListImpl.getType(String name)
Deprecated. Get the type of an attribute (by name). |
String |
AttributesImpl.getType(String qName)
Look up an attribute's type by qualified (prefixed) name. |
String |
ParserAdapter.AttributeListAdapter.getType(String uri,
String localName)
Look up the type of an attribute by Namespace name. |
String |
AttributesImpl.getType(String uri,
String localName)
Look up an attribute's type by Namespace-qualified name. |
String |
ParserAdapter.AttributeListAdapter.getURI(int i)
Return the Namespace URI of the specified attribute. |
String |
AttributesImpl.getURI(int index)
Return an attribute's Namespace URI. |
String |
NamespaceSupport.getURI(String prefix)
Look up a prefix and get the currently-mapped Namespace URI. |
(package private) String |
NamespaceSupport.Context.getURI(String prefix)
Look up the URI associated with a prefix in this context. |
String |
ParserAdapter.AttributeListAdapter.getValue(int i)
Return the value of the specified attribute. |
String |
XMLReaderAdapter.AttributesAdapter.getValue(int i)
Return the value of an attribute by position. |
String |
AttributeListImpl.getValue(int i)
Deprecated. Get the value of an attribute (by position). |
String |
AttributesImpl.getValue(int index)
Return an attribute's value by index. |
String |
ParserAdapter.AttributeListAdapter.getValue(String qName)
Look up the value of an attribute by qualified (prefixed) name. |
String |
XMLReaderAdapter.AttributesAdapter.getValue(String qName)
Return the value of an attribute by qualified (prefixed) name. |
String |
AttributeListImpl.getValue(String name)
Deprecated. Get the value of an attribute (by name). |
String |
AttributesImpl.getValue(String qName)
Look up an attribute's value by qualified (prefixed) name. |
String |
ParserAdapter.AttributeListAdapter.getValue(String uri,
String localName)
Look up the value of an attribute by Namespace name. |
String |
AttributesImpl.getValue(String uri,
String localName)
Look up an attribute's value by Namespace-qualified name. |
(package private) String[] |
NamespaceSupport.Context.processName(String qName,
boolean isAttribute)
Process an XML qualified name in this context. |
String[] |
NamespaceSupport.processName(String qName,
String[] parts,
boolean isAttribute)
Process a raw XML qualified name, after all declarations in the current context have been handled by declarePrefix(). |
| Methods in org.xml.sax.helpers with parameters of type String | |
|---|---|
void |
AttributeListImpl.addAttribute(String name,
String type,
String value)
Deprecated. Add an attribute to an attribute list. |
void |
AttributesImpl.addAttribute(String uri,
String localName,
String qName,
String type,
String value)
Add an attribute to the end of the list. |
static XMLReader |
XMLReaderFactory.createXMLReader(String className)
Attempt to create an XML reader from a class name. |
boolean |
NamespaceSupport.declarePrefix(String prefix,
String uri)
Declare a Namespace prefix. |
(package private) void |
NamespaceSupport.Context.declarePrefix(String prefix,
String uri)
Declare a Namespace prefix for this context. |
void |
ParserAdapter.endElement(String qName)
Adapter implementation method; do not call. |
void |
XMLReaderAdapter.endElement(String uri,
String localName,
String qName)
Adapt a SAX2 end element event. |
void |
DefaultHandler.endElement(String uri,
String localName,
String qName)
Receive notification of the end of an element. |
void |
XMLFilterImpl.endElement(String uri,
String localName,
String qName)
Filter an end element event. |
void |
XMLReaderAdapter.endPrefixMapping(String prefix)
Adapt a SAX2 end prefix mapping event. |
void |
DefaultHandler.endPrefixMapping(String prefix)
Receive notification of the end of a Namespace mapping. |
void |
XMLFilterImpl.endPrefixMapping(String prefix)
Filter an end Namespace prefix mapping event. |
boolean |
ParserAdapter.getFeature(String name)
Check a parser feature flag. |
boolean |
XMLFilterImpl.getFeature(String name)
Look up the value of a feature. |
int |
ParserAdapter.AttributeListAdapter.getIndex(String qName)
Look up an attribute index by qualified (prefixed) name. |
int |
AttributesImpl.getIndex(String qName)
Look up an attribute's index by qualified (prefixed) name. |
int |
ParserAdapter.AttributeListAdapter.getIndex(String uri,
String localName)
Look up an attribute index by Namespace name. |
int |
AttributesImpl.getIndex(String uri,
String localName)
Look up an attribute's index by Namespace name. |
String |
NamespaceSupport.getPrefix(String uri)
Return one of the prefixes mapped to a Namespace URI. |
(package private) String |
NamespaceSupport.Context.getPrefix(String uri)
Look up one of the prefixes associated with a URI in this context. |
Enumeration |
NamespaceSupport.getPrefixes(String uri)
Return an enumeration of all prefixes for a given URI whose declarations are active in the current context. |
Object |
ParserAdapter.getProperty(String name)
Get a parser property. |
Object |
XMLFilterImpl.getProperty(String name)
Look up the value of a property. |
String |
ParserAdapter.AttributeListAdapter.getType(String qName)
Look up the type of an attribute by qualified (prefixed) name. |
String |
XMLReaderAdapter.AttributesAdapter.getType(String qName)
Return the type of an attribute by qualified (prefixed) name. |
String |
AttributeListImpl.getType(String name)
Deprecated. Get the type of an attribute (by name). |
String |
AttributesImpl.getType(String qName)
Look up an attribute's type by qualified (prefixed) name. |
String |
ParserAdapter.AttributeListAdapter.getType(String uri,
String localName)
Look up the type of an attribute by Namespace name. |
String |
AttributesImpl.getType(String uri,
String localName)
Look up an attribute's type by Namespace-qualified name. |
String |
NamespaceSupport.getURI(String prefix)
Look up a prefix and get the currently-mapped Namespace URI. |
(package private) String |
NamespaceSupport.Context.getURI(String prefix)
Look up the URI associated with a prefix in this context. |
String |
ParserAdapter.AttributeListAdapter.getValue(String qName)
Look up the value of an attribute by qualified (prefixed) name. |
String |
XMLReaderAdapter.AttributesAdapter.getValue(String qName)
Return the value of an attribute by qualified (prefixed) name. |
String |
AttributeListImpl.getValue(String name)
Deprecated. Get the value of an attribute (by name). |
String |
AttributesImpl.getValue(String qName)
Look up an attribute's value by qualified (prefixed) name. |
String |
ParserAdapter.AttributeListAdapter.getValue(String uri,
String localName)
Look up the value of an attribute by Namespace name. |
String |
AttributesImpl.getValue(String uri,
String localName)
Look up an attribute's value by Namespace-qualified name. |
static Parser |
ParserFactory.makeParser(String className)
Deprecated. Create a new SAX parser object using the class name provided. |
(package private) static Object |
NewInstance.newInstance(ClassLoader classLoader,
String className)
Creates a new instance of the specified class name Package private so this code is not exposed at the API level. |
void |
DefaultHandler.notationDecl(String name,
String publicId,
String systemId)
Receive notification of a notation declaration. |
void |
XMLFilterImpl.notationDecl(String name,
String publicId,
String systemId)
Filter a notation declaration event. |
void |
ParserAdapter.parse(String systemId)
Parse an XML document. |
void |
XMLReaderAdapter.parse(String systemId)
Parse the document. |
void |
XMLFilterImpl.parse(String systemId)
Parse a document. |
void |
ParserAdapter.processingInstruction(String target,
String data)
Adapter implementation method; do not call. |
void |
XMLReaderAdapter.processingInstruction(String target,
String data)
Adapt a SAX2 processing instruction event. |
void |
DefaultHandler.processingInstruction(String target,
String data)
Receive notification of a processing instruction. |
void |
XMLFilterImpl.processingInstruction(String target,
String data)
Filter a processing instruction event. |
(package private) String[] |
NamespaceSupport.Context.processName(String qName,
boolean isAttribute)
Process an XML qualified name in this context. |
String[] |
NamespaceSupport.processName(String qName,
String[] parts,
boolean isAttribute)
Process a raw XML qualified name, after all declarations in the current context have been handled by declarePrefix(). |
String[] |
NamespaceSupport.processName(String qName,
String[] parts,
boolean isAttribute)
Process a raw XML qualified name, after all declarations in the current context have been handled by declarePrefix(). |
void |
AttributeListImpl.removeAttribute(String name)
Deprecated. Remove an attribute from the list. |
(package private) void |
ParserAdapter.reportError(String message)
Report a non-fatal error. |
InputSource |
DefaultHandler.resolveEntity(String publicId,
String systemId)
Resolve an external entity. |
InputSource |
XMLFilterImpl.resolveEntity(String publicId,
String systemId)
Filter an external entity resolution. |
void |
AttributesImpl.setAttribute(int index,
String uri,
String localName,
String qName,
String type,
String value)
Set an attribute in the list. |
void |
ParserAdapter.setFeature(String name,
boolean value)
Set a feature flag for the parser. |
void |
XMLFilterImpl.setFeature(String name,
boolean value)
Set the value of a feature. |
void |
AttributesImpl.setLocalName(int index,
String localName)
Set the local name of a specific attribute. |
void |
ParserAdapter.setProperty(String name,
Object value)
Set a parser property. |
void |
XMLFilterImpl.setProperty(String name,
Object value)
Set the value of a property. |
void |
LocatorImpl.setPublicId(String publicId)
Set the public identifier for this locator. |
void |
AttributesImpl.setQName(int index,
String qName)
Set the qualified name of a specific attribute. |
void |
LocatorImpl.setSystemId(String systemId)
Set the system identifier for this locator. |
void |
AttributesImpl.setType(int index,
String type)
Set the type of a specific attribute. |
void |
AttributesImpl.setURI(int index,
String uri)
Set the Namespace URI of a specific attribute. |
void |
AttributesImpl.setValue(int index,
String value)
Set the value of a specific attribute. |
void |
XMLReaderAdapter.skippedEntity(String name)
Adapt a SAX2 skipped entity event. |
void |
DefaultHandler.skippedEntity(String name)
Receive notification of a skipped entity. |
void |
XMLFilterImpl.skippedEntity(String name)
Filter a skipped entity event. |
void |
ParserAdapter.startElement(String qName,
AttributeList qAtts)
Adapter implementation method; do not call. |
void |
XMLReaderAdapter.startElement(String uri,
String localName,
String qName,
Attributes atts)
Adapt a SAX2 start element event. |
void |
DefaultHandler.startElement(String uri,
String localName,
String qName,
Attributes attributes)
Receive notification of the start of an element. |
void |
XMLFilterImpl.startElement(String uri,
String localName,
String qName,
Attributes atts)
Filter a start element event. |
void |
XMLReaderAdapter.startPrefixMapping(String prefix,
String uri)
Adapt a SAX2 start prefix mapping event. |
void |
DefaultHandler.startPrefixMapping(String prefix,
String uri)
Receive notification of the start of a Namespace mapping. |
void |
XMLFilterImpl.startPrefixMapping(String prefix,
String uri)
Filter a start Namespace prefix mapping event. |
void |
DefaultHandler.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Receive notification of an unparsed entity declaration. |
void |
XMLFilterImpl.unparsedEntityDecl(String name,
String publicId,
String systemId,
String notationName)
Filter an unparsed entity declaration event. |
| Uses of String in org.xmlpull.v1 |
|---|
| Fields in org.xmlpull.v1 declared as String | |
|---|---|
protected String |
XmlPullParserFactory.classNamesLocation
|
static String |
XmlPullParser.FEATURE_PROCESS_DOCDECL
This feature determines whether the document declaration is processed. |
static String |
XmlPullParser.FEATURE_PROCESS_NAMESPACES
This feature determines whether the parser processes namespaces. |
static String |
XmlPullParser.FEATURE_REPORT_NAMESPACE_ATTRIBUTES
This feature determines whether namespace attributes are exposed via the attribute access methods. |
static String |
XmlPullParser.FEATURE_VALIDATION
If this feature is activated, all validation errors as defined in the XML 1.0 sepcification are reported. |
static String |
XmlPullParser.NO_NAMESPACE
This constant represents the default namespace (empty string "") |
static String |
XmlPullParserFactory.PROPERTY_NAME
Name of the system or midlet property that should be used for a system property containing a comma separated list of factory or parser class names (value: org.xmlpull.v1.XmlPullParserFactory). |
static String[] |
XmlPullParser.TYPES
This array can be used to convert the event type integer constants such as START_TAG or TEXT to to a string. |
| Methods in org.xmlpull.v1 that return String | |
|---|---|
String |
XmlPullParser.getAttributeName(int index)
Returns the local name of the specified attribute if namespaces are enabled or just attribute name if namespaces are disabled. |
String |
XmlPullParser.getAttributeNamespace(int index)
Returns the namespace URI of the attribute with the given index (starts from 0). |
String |
XmlPullParser.getAttributePrefix(int index)
Returns the prefix of the specified attribute Returns null if the element has no prefix. |
String |
XmlPullParser.getAttributeType(int index)
Returns the type of the specified attribute If parser is non-validating it MUST return CDATA. |
String |
XmlPullParser.getAttributeValue(int index)
Returns the given attributes value. |
String |
XmlPullParser.getAttributeValue(String namespace,
String name)
Returns the attributes value identified by namespace URI and namespace localName. |
String |
XmlPullParser.getInputEncoding()
Returns the input encoding if known, null otherwise. |
String |
XmlPullParser.getName()
For START_TAG or END_TAG events, the (local) name of the current element is returned when namespaces are enabled. |
String |
XmlSerializer.getName()
Returns the name of the current element as set by startTag(). |
String |
XmlPullParser.getNamespace()
Returns the namespace URI of the current element. |
String |
XmlSerializer.getNamespace()
Returns the namespace URI of the current element as set by startTag(). |
String |
XmlPullParser.getNamespace(String prefix)
Returns the URI corresponding to the given prefix, depending on current state of the parser. |
String |
XmlPullParser.getNamespacePrefix(int pos)
Returns the namespace prefixe for the given position in the namespace stack. |
String |
XmlPullParser.getNamespaceUri(int pos)
Returns the namespace URI for the given position in the namespace stack If the position is out of range, an exception is thrown. |
String |
XmlPullParser.getPositionDescription()
Returns a short text describing the current parser state, including the position, a description of the current event and the data source if known. |
String |
XmlPullParser.getPrefix()
Returns the prefix of the current element. |
String |
XmlSerializer.getPrefix(String namespace,
boolean generatePrefix)
Return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but if generatePrefix is false then return generated prefix. |
String |
XmlPullParser.getText()
Returns the text content of the current event as String. |
String |
XmlPullParser.nextText()
If current event is START_TAG then if next element is TEXT then element content is returned or if next event is END_TAG then empty string is returned, otherwise exception is thrown. |
| Methods in org.xmlpull.v1 with parameters of type String | |
|---|---|
XmlSerializer |
XmlSerializer.attribute(String namespace,
String name,
String value)
Write an attribute. |
void |
XmlSerializer.cdsect(String text)
|
void |
XmlSerializer.comment(String text)
|
void |
XmlPullParser.defineEntityReplacementText(String entityName,
String replacementText)
Set new value for entity replacement text as defined in XML 1.0 Section 4.5 Construction of Internal Entity Replacement Text. |
void |
XmlSerializer.docdecl(String text)
|
XmlSerializer |
XmlSerializer.endTag(String namespace,
String name)
Write end tag. |
void |
XmlSerializer.entityRef(String text)
|
String |
XmlPullParser.getAttributeValue(String namespace,
String name)
Returns the attributes value identified by namespace URI and namespace localName. |
boolean |
XmlPullParserFactory.getFeature(String name)
Return the current value of the feature with given name. |
boolean |
XmlPullParser.getFeature(String name)
Returns the current value of the given feature. |
boolean |
XmlSerializer.getFeature(String name)
Return the current value of the feature with given name. |
String |
XmlPullParser.getNamespace(String prefix)
Returns the URI corresponding to the given prefix, depending on current state of the parser. |
String |
XmlSerializer.getPrefix(String namespace,
boolean generatePrefix)
Return namespace that corresponds to given prefix If there is no prefix bound to this namespace return null but if generatePrefix is false then return generated prefix. |
Object |
XmlPullParser.getProperty(String name)
Look up the value of a property. |
Object |
XmlSerializer.getProperty(String name)
Look up the value of a property. |
void |
XmlSerializer.ignorableWhitespace(String text)
|
static XmlPullParserFactory |
XmlPullParserFactory.newInstance(String classNames,
Class context)
|
void |
XmlSerializer.processingInstruction(String text)
|
void |
XmlPullParser.require(int type,
String namespace,
String name)
Test if the current event is of the given type and if the namespace and name do match. |
void |
XmlPullParserFactory.setFeature(String name,
boolean state)
Set the features to be set when XML Pull Parser is created by this factory. |
void |
XmlPullParser.setFeature(String name,
boolean state)
Use this call to change the general behaviour of the parser, such as namespace processing or doctype declaration handling. |
void |
XmlSerializer.setFeature(String name,
boolean state)
Set feature identified by name (recommended to be URI for uniqueness). |
void |
XmlPullParser.setInput(InputStream inputStream,
String inputEncoding)
Sets the input stream the parser is going to process. |
void |
XmlSerializer.setOutput(OutputStream os,
String encoding)
Set to use binary output stream with given encoding. |
void |
XmlSerializer.setPrefix(String prefix,
String namespace)
Binds the given prefix to the given namespace. |
void |
XmlPullParser.setProperty(String name,
Object value)
Set the value of a property. |
void |
XmlSerializer.setProperty(String name,
Object value)
Set the value of a property. |
void |
XmlSerializer.startDocument(String encoding,
Boolean standalone)
Write <?xml declaration with encoding (if encoding not null) and standalone flag (if standalone not null) This method can only be called just after setOutput. |
XmlSerializer |
XmlSerializer.startTag(String namespace,
String name)
Writes a start tag with the given namespace and name. |
XmlSerializer |
XmlSerializer.text(String text)
Writes text, where special XML chars are escaped automatically |
| Constructors in org.xmlpull.v1 with parameters of type String | |
|---|---|
XmlPullParserException(String s)
|
|
XmlPullParserException(String msg,
XmlPullParser parser,
Throwable chain)
|
|
| Uses of String in org.xmlpull.v1.sax2 |
|---|
| Fields in org.xmlpull.v1.sax2 declared as String | |
|---|---|
protected static String |
Driver.APACHE_DYNAMIC_VALIDATION_FEATURE
|
protected static String |
Driver.APACHE_SCHEMA_VALIDATION_FEATURE
|
protected static String |
Driver.DECLARATION_HANDLER_PROPERTY
|
protected static String |
Driver.LEXICAL_HANDLER_PROPERTY
|
protected static String |
Driver.NAMESPACE_PREFIXES_FEATURE
|
protected static String |
Driver.NAMESPACES_FEATURE
|
protected String |
Driver.systemId
|
protected static String |
Driver.VALIDATION_FEATURE
|
| Methods in org.xmlpull.v1.sax2 that return String | |
|---|---|
String |
Driver.getLocalName(int index)
|
String |
Driver.getPublicId()
|
String |
Driver.getQName(int index)
|
String |
Driver.getSystemId()
|
String |
Driver.getType(int index)
|
String |
Driver.getType(String qName)
|
String |
Driver.getType(String uri,
String localName)
|
String |
Driver.getURI(int index)
|
String |
Driver.getValue(int index)
|
String |
Driver.getValue(String qName)
|
String |
Driver.getValue(String uri,
String localName)
|
| Methods in org.xmlpull.v1.sax2 with parameters of type String | |
|---|---|
boolean |
Driver.getFeature(String name)
|
int |
Driver.getIndex(String qName)
|
int |
Driver.getIndex(String uri,
String localName)
|
Object |
Driver.getProperty(String name)
|
String |
Driver.getType(String qName)
|
String |
Driver.getType(String uri,
String localName)
|
String |
Driver.getValue(String qName)
|
String |
Driver.getValue(String uri,
String localName)
|
void |
Driver.parse(String systemId)
|
void |
Driver.setFeature(String name,
boolean value)
|
void |
Driver.setProperty(String name,
Object value)
|
protected void |
Driver.startElement(String namespace,
String localName,
String qName)
Calls startElement
on the ContentHandler with this driver object as the
Attributes implementation. |
|
Build 1.1_r1 (from source) | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||